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.004517/0.004517, allocations: 104.8 kB / 15.73 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001022/0.001022, allocations: 193 kB / 16.67 MB, free: 5.969 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.28/1.28, allocations: 222.9 MB / 240.4 MB, free: 4.316 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.9174/0.9174, allocations: 143 MB / 433.6 MB, free: 11.41 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001226, allocations: 63.91 kB / 0.5955 GB, free: 8.383 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3943/0.3955, allocations: 82.02 MB / 0.6756 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.IO.Files.Examples.JSONWriter): time 0.002235/0.3978, allocations: 1.645 MB / 0.6772 GB, free: 188 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0007915/0.3986, allocations: 0.5421 MB / 0.6777 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.609e-05/0.3987, allocations: 6 kB / 0.6778 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001483/0.3989, allocations: 27.08 kB / 0.6778 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0002382/0.3991, allocations: 67.86 kB / 0.6778 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001327/0.3993, allocations: 64.56 kB / 0.6779 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001678/0.3994, allocations: 129.1 kB / 0.678 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001427/0.3996, allocations: 58.98 kB / 0.6781 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000106/0.3997, allocations: 52.91 kB / 0.6781 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001025/0.3998, allocations: 67.31 kB / 0.6782 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.569e-05/0.3998, allocations: 8.406 kB / 0.6782 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 5.275e-05/0.3999, allocations: 15.59 kB / 0.6782 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 9.738e-05/0.4, allocations: 47.48 kB / 0.6783 GB, free: 15.4 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 6.432e-05/0.4001, allocations: 60.75 kB / 0.6783 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001877/0.4003, allocations: 152 kB / 0.6785 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.4003, allocations: 0 / 0.6785 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.713e-06/0.4003, allocations: 5.406 kB / 0.6785 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.919e-06/0.4003, allocations: 0 / 0.6785 GB, free: 15.25 MB / 0.5137 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.0005674/0.4009, allocations: 463.3 kB / 0.6789 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.171e-05/0.4009, allocations: 9.625 kB / 0.6789 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.919e-05/0.401, allocations: 20.66 kB / 0.6789 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002655/0.4012, allocations: 241.5 kB / 0.6792 GB, free: 14.53 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.103e-06/0.4013, allocations: 6.812 kB / 0.6792 GB, free: 14.53 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.737e-05/0.4013, allocations: 7.781 kB / 0.6792 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002758/0.4016, allocations: 110 kB / 0.6793 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.383e-06/0.4016, allocations: 0 / 0.6793 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.582e-05/0.4016, allocations: 5.062 kB / 0.6793 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.4016, allocations: 1.156 kB / 0.6793 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002329/0.4018, allocations: 63.97 kB / 0.6794 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005346/0.4024, allocations: 384.3 kB / 0.6797 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001326/0.4025, allocations: 43.7 kB / 0.6798 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001231/0.4027, allocations: 30.7 kB / 0.6798 GB, free: 14 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.178e-05/0.4027, allocations: 4 kB / 0.6798 GB, free: 13.99 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002099/0.4029, allocations: 94.61 kB / 0.6799 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.4029, allocations: 3.938 kB / 0.6799 GB, free: 13.9 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3): time 0.0004317/0.4033, allocations: 128.8 kB / 0.68 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.895e-05/0.4034, allocations: 77.11 kB / 0.6801 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002313/0.4036, allocations: 257.6 kB / 0.6803 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.719e-05/0.4037, allocations: 29.7 kB / 0.6804 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.291e-05/0.4037, allocations: 129.3 kB / 0.6805 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.572e-05/0.4038, allocations: 5.094 kB / 0.6805 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.423e-05/0.4038, allocations: 17.28 kB / 0.6805 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001004/0.4039, allocations: 323.2 kB / 0.6808 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001086/0.404, allocations: 29.53 kB / 0.6808 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001158/0.4041, allocations: 54.92 kB / 0.6809 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002127/0.4044, allocations: 75.27 kB / 0.681 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.4044, allocations: 0 / 0.681 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002709/0.4047, allocations: 103 kB / 0.6811 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.08e-05/0.4047, allocations: 4.688 kB / 0.6811 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.4047, allocations: 5.188 kB / 0.6811 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.4047, allocations: 5.406 kB / 0.6811 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001056/0.4048, allocations: 12.02 kB / 0.6811 GB, free: 12.85 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.4048, allocations: 1.062 kB / 0.6811 GB, free: 12.85 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.133e-05/0.4049, allocations: 18.58 kB / 0.6811 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.514e-06/0.4049, allocations: 1.156 kB / 0.6811 GB, free: 12.84 MB / 0.5137 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 9.186e-05/0.405, allocations: 129.5 kB / 0.6812 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.893e-05/0.4051, allocations: 16.25 kB / 0.6813 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.16e-05/0.4051, allocations: 22.8 kB / 0.6813 GB, free: 12.69 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.836e-06/0.4051, allocations: 5.125 kB / 0.6813 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/0.4051, allocations: 0 / 0.6813 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.4051, allocations: 0 / 0.6813 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000149/0.4053, allocations: 216.2 kB / 0.6815 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.4053, allocations: 0 / 0.6815 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.948e-05/0.4054, allocations: 11.83 kB / 0.6815 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.704e-06/0.4054, allocations: 0 / 0.6815 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.022e-05/0.4054, allocations: 5.25 kB / 0.6815 GB, free: 12.44 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.074e-06/0.4054, allocations: 3.938 kB / 0.6815 GB, free: 12.44 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.4054, allocations: 4 kB / 0.6815 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002705/0.4057, allocations: 124.4 kB / 0.6816 GB, free: 12.33 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.131e-05/0.4057, allocations: 92.73 kB / 0.6817 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.248e-05/0.4058, allocations: 1.031 kB / 0.6817 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.856e-05/0.4059, allocations: 14.02 kB / 0.6817 GB, free: 12.22 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.771e-05/0.4059, allocations: 10.47 kB / 0.6817 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.008e-05/0.4059, allocations: 7.922 kB / 0.6817 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001575/0.4061, allocations: 184.8 kB / 0.6819 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.81e-07/0.4061, allocations: 0 / 0.6819 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002105/0.4063, allocations: 17.56 kB / 0.6819 GB, free: 12.09 MB / 0.5137 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.0001873/0.4065, allocations: 131.8 kB / 0.6821 GB, free: 11.97 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002838/0.4068, allocations: 52.34 kB / 0.6821 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.638e-06/0.4068, allocations: 4 kB / 0.6821 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001107/0.4069, allocations: 28.38 kB / 0.6821 GB, free: 11.94 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000276/0.4072, allocations: 45.22 kB / 0.6822 GB, free: 11.92 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000463/0.4077, allocations: 293.4 kB / 0.6825 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002504/0.4079, allocations: 0.7171 MB / 0.6832 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 6.292e-05/0.408, allocations: 17.58 kB / 0.6832 GB, free: 10.97 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.725e-05/0.4081, allocations: 22.2 kB / 0.6832 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of SimCode: time 2.6e-07/0.4081, allocations: 4 kB / 0.6832 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of Templates: time 0.004395/0.4125, allocations: 1.805 MB / 0.685 GB, free: 10.04 MB / 0.5137 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