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.001321/0.001321, allocations: 108.8 kB / 16.37 MB, free: 6.465 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.001398/0.001398, allocations: 193.1 kB / 17.31 MB, free: 5.816 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.303/1.303, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.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.8345/0.8345, allocations: 143.1 MB / 434.2 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 59.91 kB / 0.5156 GB, free: 14.44 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3299/0.3312, allocations: 82.03 MB / 0.5957 GB, free: 16.12 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.IO.Files.Examples.JSONWriter): time 0.002703/0.334, allocations: 1.642 MB / 0.5973 GB, free: 14.49 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006905/0.3347, allocations: 0.5482 MB / 0.5978 GB, free: 13.94 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.883e-05/0.3347, allocations: 0 / 0.5978 GB, free: 13.94 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001547/0.3349, allocations: 23.8 kB / 0.5979 GB, free: 13.91 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002346/0.3352, allocations: 61.05 kB / 0.5979 GB, free: 13.86 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001238/0.3353, allocations: 71.84 kB / 0.598 GB, free: 13.79 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001443/0.3354, allocations: 132.8 kB / 0.5981 GB, free: 13.66 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001442/0.3356, allocations: 48.34 kB / 0.5982 GB, free: 13.61 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.034e-05/0.3357, allocations: 51.78 kB / 0.5982 GB, free: 13.56 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.765e-05/0.3358, allocations: 63.69 kB / 0.5983 GB, free: 13.5 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.473e-05/0.3358, allocations: 9.062 kB / 0.5983 GB, free: 13.49 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.892e-05/0.3359, allocations: 20 kB / 0.5983 GB, free: 13.47 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.845e-05/0.336, allocations: 52.8 kB / 0.5983 GB, free: 13.42 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.204e-05/0.336, allocations: 59.59 kB / 0.5984 GB, free: 13.36 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001605/0.3362, allocations: 147.3 kB / 0.5985 GB, free: 13.22 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.3362, allocations: 5.312 kB / 0.5985 GB, free: 13.21 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.3362, allocations: 0 / 0.5985 GB, free: 13.21 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.648e-06/0.3362, allocations: 0 / 0.5985 GB, free: 13.21 MB / 446.1 MB 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.0005118/0.3367, allocations: 465.5 kB / 0.599 GB, free: 12.71 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.313e-05/0.3368, allocations: 13.09 kB / 0.599 GB, free: 12.7 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.041e-05/0.3368, allocations: 16.75 kB / 0.599 GB, free: 12.69 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002401/0.3371, allocations: 242 kB / 0.5992 GB, free: 12.41 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.086e-05/0.3371, allocations: 4.875 kB / 0.5993 GB, free: 12.41 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.211e-05/0.3371, allocations: 4.375 kB / 0.5993 GB, free: 12.4 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002447/0.3374, allocations: 115 kB / 0.5994 GB, free: 12.29 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.3374, allocations: 1.156 kB / 0.5994 GB, free: 12.29 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.365e-05/0.3374, allocations: 4 kB / 0.5994 GB, free: 12.28 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.3374, allocations: 7.938 kB / 0.5994 GB, free: 12.27 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001978/0.3376, allocations: 67.84 kB / 0.5994 GB, free: 12.21 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004655/0.3381, allocations: 384.4 kB / 0.5998 GB, free: 11.79 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001203/0.3382, allocations: 43.98 kB / 0.5999 GB, free: 11.73 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.1e-05/0.3383, allocations: 33.52 kB / 0.5999 GB, free: 11.7 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.567e-05/0.3383, allocations: 1.281 kB / 0.5999 GB, free: 11.7 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001745/0.3385, allocations: 102.4 kB / 0.6 GB, free: 11.58 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.3385, allocations: 1.469 kB / 0.6 GB, free: 11.58 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003647/0.3389, allocations: 122.5 kB / 0.6001 GB, free: 11.46 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.952e-05/0.3389, allocations: 77.11 kB / 0.6002 GB, free: 11.36 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001752/0.3391, allocations: 254 kB / 0.6004 GB, free: 11.11 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.456e-05/0.3391, allocations: 25.7 kB / 0.6004 GB, free: 11.08 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.514e-05/0.3392, allocations: 134 kB / 0.6006 GB, free: 10.95 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.729e-05/0.3392, allocations: 11.89 kB / 0.6006 GB, free: 10.93 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.98e-05/0.3393, allocations: 9.719 kB / 0.6006 GB, free: 10.92 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.847e-05/0.3393, allocations: 330.8 kB / 0.6009 GB, free: 10.59 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.516e-05/0.3394, allocations: 25.56 kB / 0.6009 GB, free: 10.56 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.311e-05/0.3395, allocations: 52.84 kB / 0.601 GB, free: 10.5 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001657/0.3397, allocations: 68.77 kB / 0.601 GB, free: 10.43 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.3397, allocations: 1.188 kB / 0.601 GB, free: 10.43 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002182/0.3399, allocations: 102.3 kB / 0.6011 GB, free: 10.32 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.3399, allocations: 11.34 kB / 0.6012 GB, free: 10.31 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.34, allocations: 0 / 0.6012 GB, free: 10.31 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.34, allocations: 3.938 kB / 0.6012 GB, free: 10.31 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001033/0.3401, allocations: 16.77 kB / 0.6012 GB, free: 10.29 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.3401, allocations: 0 / 0.6012 GB, free: 10.29 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.043e-05/0.3402, allocations: 21.11 kB / 0.6012 GB, free: 10.27 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.516e-06/0.3402, allocations: 4 kB / 0.6012 GB, free: 10.27 MB / 446.1 MB 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 7.553e-05/0.3403, allocations: 127.3 kB / 0.6013 GB, free: 10.14 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.292e-05/0.3403, allocations: 15.81 kB / 0.6013 GB, free: 10.12 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.863e-05/0.3403, allocations: 21.23 kB / 0.6014 GB, free: 10.1 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.3403, allocations: 4.562 kB / 0.6014 GB, free: 10.1 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.3403, allocations: 0 / 0.6014 GB, free: 10.1 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.3404, allocations: 1.625 kB / 0.6014 GB, free: 10.1 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001035/0.3405, allocations: 217.5 kB / 0.6016 GB, free: 9.836 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.3405, allocations: 0 / 0.6016 GB, free: 9.836 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.181e-05/0.3405, allocations: 11.98 kB / 0.6016 GB, free: 9.824 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.3406, allocations: 1.312 kB / 0.6016 GB, free: 9.824 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.805e-06/0.3406, allocations: 0 / 0.6016 GB, free: 9.824 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.3406, allocations: 3.938 kB / 0.6016 GB, free: 9.82 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.3406, allocations: 0.75 kB / 0.6016 GB, free: 9.82 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002234/0.3408, allocations: 126.3 kB / 0.6017 GB, free: 9.68 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.851e-05/0.3408, allocations: 93.77 kB / 0.6018 GB, free: 9.57 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.061e-05/0.3409, allocations: 0 / 0.6018 GB, free: 9.57 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.706e-05/0.341, allocations: 21.95 kB / 0.6018 GB, free: 9.551 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.492e-05/0.341, allocations: 3.938 kB / 0.6018 GB, free: 9.547 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.094e-05/0.341, allocations: 7.984 kB / 0.6018 GB, free: 9.539 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001243/0.3412, allocations: 188.5 kB / 0.602 GB, free: 9.352 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3412, allocations: 1.719 kB / 0.602 GB, free: 9.352 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002109/0.3414, allocations: 23.91 kB / 0.602 GB, free: 9.328 MB / 446.1 MB 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.0001767/0.3416, allocations: 117.6 kB / 0.6021 GB, free: 9.211 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002564/0.3418, allocations: 57.25 kB / 0.6022 GB, free: 9.156 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3418, allocations: 0 / 0.6022 GB, free: 9.156 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 9.511e-05/0.3419, allocations: 29.31 kB / 0.6022 GB, free: 9.129 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002761/0.3422, allocations: 48.98 kB / 0.6023 GB, free: 9.086 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004162/0.3426, allocations: 283.1 kB / 0.6025 GB, free: 8.785 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001425/0.3428, allocations: 0.7207 MB / 0.6032 GB, free: 8.039 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.362e-05/0.3429, allocations: 17.73 kB / 0.6033 GB, free: 8.023 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.266e-05/0.3429, allocations: 19.42 kB / 0.6033 GB, free: 8.004 MB / 446.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3429, allocations: 1.344 kB / 0.6033 GB, free: 8.004 MB / 446.1 MB Notification: Performance of Templates: time 0.004211/0.3471, allocations: 1.803 MB / 0.605 GB, free: 6.281 MB / 446.1 MB 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/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