Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.IO.Files.Examples.JSONWriter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Utilities.IO.Files.Examples.JSONWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.IO.Files.Examples.JSONWriter") translateModel(BuildSysPro.IBPSA.Utilities.IO.Files.Examples.JSONWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.IO.Files.Examples.JSONWriter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001411/0.001411, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001121/0.001121, allocations: 192.8 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.33/1.33, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.9689/0.9689, allocations: 143 MB / 433.4 MB, free: 11.52 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001356/0.001356, allocations: 68.09 kB / 0.5142 GB, free: 11.64 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1874/0.1888, allocations: 82.04 MB / 0.5943 GB, free: 9.566 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.IO.Files.Examples.JSONWriter): time 0.003215/0.1921, allocations: 1.641 MB / 0.5959 GB, free: 7.914 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009943/0.1931, allocations: 0.5456 MB / 0.5964 GB, free: 7.363 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00011/0.1932, allocations: 7.938 kB / 0.5964 GB, free: 7.355 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001927/0.1934, allocations: 19.8 kB / 0.5964 GB, free: 7.336 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002634/0.1937, allocations: 59.67 kB / 0.5965 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001939/0.1939, allocations: 71.86 kB / 0.5966 GB, free: 7.207 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001894/0.1941, allocations: 127.6 kB / 0.5967 GB, free: 7.082 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000161/0.1943, allocations: 41.47 kB / 0.5967 GB, free: 7.039 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000124/0.1944, allocations: 63.7 kB / 0.5968 GB, free: 6.977 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001223/0.1945, allocations: 67.69 kB / 0.5968 GB, free: 6.91 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.937e-05/0.1946, allocations: 8 kB / 0.5969 GB, free: 6.902 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.642e-05/0.1947, allocations: 23.94 kB / 0.5969 GB, free: 6.879 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.732e-05/0.1948, allocations: 47.83 kB / 0.5969 GB, free: 6.832 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.204e-05/0.1949, allocations: 59.59 kB / 0.597 GB, free: 6.773 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002213/0.1951, allocations: 151.7 kB / 0.5971 GB, free: 6.625 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.1951, allocations: 0 / 0.5971 GB, free: 6.625 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.353e-06/0.1951, allocations: 0 / 0.5971 GB, free: 6.625 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.212e-06/0.1951, allocations: 0 / 0.5971 GB, free: 6.625 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006868/0.1958, allocations: 470.6 kB / 0.5976 GB, free: 6.117 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.803e-05/0.1959, allocations: 8.031 kB / 0.5976 GB, free: 6.109 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.964e-05/0.1959, allocations: 16.75 kB / 0.5976 GB, free: 6.094 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002623/0.1962, allocations: 236.8 kB / 0.5978 GB, free: 5.824 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.033e-06/0.1962, allocations: 384 / 0.5978 GB, free: 5.824 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.556e-05/0.1962, allocations: 4.375 kB / 0.5978 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003/0.1965, allocations: 110 kB / 0.5979 GB, free: 5.707 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.634e-06/0.1966, allocations: 4 kB / 0.5979 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.623e-05/0.1966, allocations: 3.984 kB / 0.5979 GB, free: 5.699 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.1966, allocations: 4 kB / 0.5979 GB, free: 5.695 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002323/0.1968, allocations: 63.94 kB / 0.598 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005877/0.1974, allocations: 388.4 kB / 0.5984 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001325/0.1976, allocations: 38.55 kB / 0.5984 GB, free: 5.156 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001127/0.1977, allocations: 28.91 kB / 0.5984 GB, free: 5.125 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.665e-05/0.1977, allocations: 3.938 kB / 0.5984 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002744/0.198, allocations: 97.08 kB / 0.5985 GB, free: 5.008 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.292e-06/0.198, allocations: 0 / 0.5985 GB, free: 5.008 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0004411/0.1984, allocations: 129.3 kB / 0.5987 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.693e-05/0.1985, allocations: 77.11 kB / 0.5987 GB, free: 4.781 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002781/0.1988, allocations: 260.9 kB / 0.599 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.849e-05/0.1988, allocations: 25.7 kB / 0.599 GB, free: 4.488 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.009e-05/0.1989, allocations: 128 kB / 0.5991 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.99e-05/0.1989, allocations: 7.906 kB / 0.5991 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.915e-05/0.199, allocations: 17.7 kB / 0.5991 GB, free: 4.328 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001257/0.1991, allocations: 326.8 kB / 0.5995 GB, free: 4 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001153/0.1992, allocations: 27.97 kB / 0.5995 GB, free: 3.973 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000126/0.1994, allocations: 55.34 kB / 0.5995 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002269/0.1996, allocations: 66.47 kB / 0.5996 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.1996, allocations: 4.031 kB / 0.5996 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000286/0.1999, allocations: 101.4 kB / 0.5997 GB, free: 3.723 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/0.1999, allocations: 8 kB / 0.5997 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.2, allocations: 0 / 0.5997 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/0.2, allocations: 3.938 kB / 0.5997 GB, free: 3.711 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001188/0.2001, allocations: 11.98 kB / 0.5997 GB, free: 3.699 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.2001, allocations: 4.094 kB / 0.5997 GB, free: 3.695 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.485e-05/0.2002, allocations: 19.83 kB / 0.5998 GB, free: 3.676 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.035e-05/0.2002, allocations: 4 kB / 0.5998 GB, free: 3.672 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001153/0.2004, allocations: 126.5 kB / 0.5999 GB, free: 3.539 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.093e-05/0.2004, allocations: 15.81 kB / 0.5999 GB, free: 3.523 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.092e-05/0.2004, allocations: 25.23 kB / 0.5999 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.2005, allocations: 3.938 kB / 0.5999 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.86e-06/0.2005, allocations: 0 / 0.5999 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.2005, allocations: 0 / 0.5999 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002007/0.2007, allocations: 217.6 kB / 0.6001 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.2007, allocations: 3.984 kB / 0.6001 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.422e-05/0.2008, allocations: 11.98 kB / 0.6001 GB, free: 3.215 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.2008, allocations: 0 / 0.6001 GB, free: 3.215 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.145e-06/0.2008, allocations: 3.938 kB / 0.6001 GB, free: 3.211 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.2008, allocations: 3.938 kB / 0.6001 GB, free: 3.207 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.2008, allocations: 0 / 0.6001 GB, free: 3.207 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003107/0.2011, allocations: 120.9 kB / 0.6003 GB, free: 3.07 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.325e-05/0.2012, allocations: 96.86 kB / 0.6004 GB, free: 2.957 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.308e-05/0.2012, allocations: 0 / 0.6004 GB, free: 2.957 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.989e-05/0.2013, allocations: 15.92 kB / 0.6004 GB, free: 2.941 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.669e-05/0.2014, allocations: 3.984 kB / 0.6004 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.536e-05/0.2014, allocations: 4 kB / 0.6004 GB, free: 2.934 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001832/0.2016, allocations: 192.5 kB / 0.6006 GB, free: 2.746 MB / 0.4981 GB Notification: Performance of sort global known variables: time 4.51e-07/0.2016, allocations: 4 kB / 0.6006 GB, free: 2.742 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002574/0.2019, allocations: 23.91 kB / 0.6006 GB, free: 2.719 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002375/0.2021, allocations: 127.7 kB / 0.6007 GB, free: 2.59 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003042/0.2024, allocations: 63.88 kB / 0.6008 GB, free: 2.527 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.2024, allocations: 0 / 0.6008 GB, free: 2.527 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001371/0.2026, allocations: 27.97 kB / 0.6008 GB, free: 2.5 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003042/0.2029, allocations: 43.52 kB / 0.6008 GB, free: 2.461 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005197/0.2034, allocations: 284.2 kB / 0.6011 GB, free: 2.152 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002908/0.2037, allocations: 0.7197 MB / 0.6018 GB, free: 1.406 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.946e-05/0.2038, allocations: 16.53 kB / 0.6018 GB, free: 1.391 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.615e-05/0.2038, allocations: 19.38 kB / 0.6018 GB, free: 1.371 MB / 0.4981 GB Notification: Performance of SimCode: time 5.41e-07/0.2039, allocations: 0 / 0.6018 GB, free: 1.371 MB / 0.4981 GB Notification: Performance of Templates: time 0.2506/0.4545, allocations: 1.788 MB / 0.6036 GB, free: 43.59 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.IO.Files.Examples.JSONWriter.makefile make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.IO.Files.Examples.JSONWriter.makefile clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=BuildSysPro_BuildSysPro_IBPSA_Utilities_IO_Files_Examples_JSONWriter -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o BuildSysPro_BuildSysPro.IBPSA.Utilities.IO.Files.Examples.JSONWriter.o BuildSysPro_BuildSysPro.IBPSA.Utilities.IO.Files.Examples.JSONWriter.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=BuildSysPro_BuildSysPro_IBPSA_Utilities_IO_Files_Examples_JSONWriter -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o BuildSysPro_BuildSysPro.IBPSA.Utilities.IO.Files.Examples.JSONWriter_functions.o BuildSysPro_BuildSysPro.IBPSA.Utilities.IO.Files.Examples.JSONWriter_functions.c In file included from BuildSysPro_BuildSysPro.IBPSA.Utilities.IO.Files.Examples.JSONWriter_functions.c:7: ./BuildSysPro_BuildSysPro.IBPSA.Utilities.IO.Files.Examples.JSONWriter_includes.h:7:11: fatal error: 'jsonWriterFree.c' file not found #include ^~~~~~~~~~~~~~~~~~ 1 error generated. make: *** [: BuildSysPro_BuildSysPro.IBPSA.Utilities.IO.Files.Examples.JSONWriter_functions.o] Error 1