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.001414/0.001414, allocations: 107.7 kB / 16.37 MB, free: 6.477 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.001047/0.001047, allocations: 193.1 kB / 17.31 MB, free: 5.824 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.324/1.324, 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.8316/0.8316, allocations: 143.1 MB / 434.2 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 63.89 kB / 0.5156 GB, free: 14.44 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3771/0.3783, 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.002839/0.3812, allocations: 1.642 MB / 0.5973 GB, free: 14.48 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007716/0.382, allocations: 0.5441 MB / 0.5978 GB, free: 13.93 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.456e-05/0.3821, allocations: 4 kB / 0.5978 GB, free: 13.93 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001857/0.3823, allocations: 25.11 kB / 0.5979 GB, free: 13.91 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002483/0.3826, allocations: 67.67 kB / 0.5979 GB, free: 13.84 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001383/0.3827, allocations: 61.36 kB / 0.598 GB, free: 13.78 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001676/0.3829, allocations: 135.5 kB / 0.5981 GB, free: 13.65 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001661/0.3831, allocations: 49.02 kB / 0.5982 GB, free: 13.6 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001042/0.3832, allocations: 55.83 kB / 0.5982 GB, free: 13.55 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001106/0.3833, allocations: 59.7 kB / 0.5983 GB, free: 13.49 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.878e-05/0.3833, allocations: 8 kB / 0.5983 GB, free: 13.48 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.421e-05/0.3834, allocations: 21.28 kB / 0.5983 GB, free: 13.46 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.654e-05/0.3835, allocations: 51.83 kB / 0.5983 GB, free: 13.41 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.591e-05/0.3836, allocations: 55.61 kB / 0.5984 GB, free: 13.36 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001649/0.3837, allocations: 152.6 kB / 0.5985 GB, free: 13.21 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.3837, allocations: 3.938 kB / 0.5985 GB, free: 13.21 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3837, allocations: 3.938 kB / 0.5986 GB, free: 13.2 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.472e-06/0.3838, allocations: 1.531 kB / 0.5986 GB, free: 13.2 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.0005496/0.3843, allocations: 460.5 kB / 0.599 GB, free: 12.71 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.32e-05/0.3844, allocations: 9.375 kB / 0.599 GB, free: 12.7 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.7e-05/0.3844, allocations: 16.75 kB / 0.599 GB, free: 12.68 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002575/0.3847, allocations: 249.5 kB / 0.5993 GB, free: 12.4 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.995e-06/0.3847, allocations: 1.656 kB / 0.5993 GB, free: 12.4 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.693e-05/0.3847, allocations: 8.375 kB / 0.5993 GB, free: 12.39 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002374/0.385, allocations: 111 kB / 0.5994 GB, free: 12.28 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.345e-06/0.385, allocations: 0 / 0.5994 GB, free: 12.28 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.44e-05/0.385, allocations: 1.344 kB / 0.5994 GB, free: 12.28 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.385, allocations: 7.938 kB / 0.5994 GB, free: 12.27 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001901/0.3852, allocations: 64.16 kB / 0.5994 GB, free: 12.21 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000482/0.3857, allocations: 390 kB / 0.5998 GB, free: 11.78 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001148/0.3858, allocations: 43.58 kB / 0.5999 GB, free: 11.73 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.058e-05/0.3859, allocations: 30.17 kB / 0.5999 GB, free: 11.7 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.329e-05/0.3859, allocations: 3.984 kB / 0.5999 GB, free: 11.7 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001797/0.3861, allocations: 102.4 kB / 0.6 GB, free: 11.58 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/0.3861, allocations: 0.5312 kB / 0.6 GB, free: 11.58 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003782/0.3865, allocations: 123 kB / 0.6001 GB, free: 11.45 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.521e-05/0.3866, allocations: 82.39 kB / 0.6002 GB, free: 11.36 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001866/0.3867, allocations: 249 kB / 0.6004 GB, free: 11.11 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.328e-05/0.3868, allocations: 31.11 kB / 0.6004 GB, free: 11.07 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.543e-05/0.3868, allocations: 136 kB / 0.6006 GB, free: 10.93 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.581e-05/0.3868, allocations: 3.906 kB / 0.6006 GB, free: 10.93 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.379e-05/0.3869, allocations: 15.19 kB / 0.6006 GB, free: 10.91 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.384e-05/0.387, allocations: 326.8 kB / 0.6009 GB, free: 10.58 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.872e-05/0.3871, allocations: 25.75 kB / 0.6009 GB, free: 10.56 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.455e-05/0.3872, allocations: 50.03 kB / 0.601 GB, free: 10.5 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001736/0.3873, allocations: 75.64 kB / 0.6011 GB, free: 10.42 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.3874, allocations: 0 / 0.6011 GB, free: 10.42 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002267/0.3876, allocations: 98.91 kB / 0.6011 GB, free: 10.32 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.3876, allocations: 8.547 kB / 0.6012 GB, free: 10.31 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.3876, allocations: 4 kB / 0.6012 GB, free: 10.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.008e-05/0.3876, allocations: 5.562 kB / 0.6012 GB, free: 10.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001082/0.3878, allocations: 11.98 kB / 0.6012 GB, free: 10.29 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.623e-06/0.3878, allocations: 0 / 0.6012 GB, free: 10.29 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.975e-05/0.3879, allocations: 21.2 kB / 0.6012 GB, free: 10.27 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.727e-05/0.3879, allocations: 0 / 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 9.256e-05/0.388, allocations: 130.6 kB / 0.6013 GB, free: 10.13 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.422e-05/0.388, allocations: 15.81 kB / 0.6013 GB, free: 10.12 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.021e-05/0.388, allocations: 14.75 kB / 0.6013 GB, free: 10.11 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.3881, allocations: 11.94 kB / 0.6014 GB, free: 10.09 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.3881, allocations: 0 / 0.6014 GB, free: 10.09 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.369e-06/0.3881, allocations: 3.984 kB / 0.6014 GB, free: 10.09 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001244/0.3882, allocations: 214.9 kB / 0.6016 GB, free: 9.832 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.3882, allocations: 0 / 0.6016 GB, free: 9.832 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.482e-05/0.3883, allocations: 11.98 kB / 0.6016 GB, free: 9.82 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.3883, allocations: 0.75 kB / 0.6016 GB, free: 9.82 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.267e-06/0.3883, allocations: 4 kB / 0.6016 GB, free: 9.816 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-06/0.3883, allocations: 5.438 kB / 0.6016 GB, free: 9.812 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3883, allocations: 3.938 kB / 0.6016 GB, free: 9.809 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002379/0.3886, allocations: 123 kB / 0.6017 GB, free: 9.672 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.314e-05/0.3886, allocations: 92.91 kB / 0.6018 GB, free: 9.562 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.117e-05/0.3886, allocations: 1.5 kB / 0.6018 GB, free: 9.562 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.3e-05/0.3887, allocations: 15.86 kB / 0.6018 GB, free: 9.547 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.578e-05/0.3888, allocations: 4 kB / 0.6018 GB, free: 9.543 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.098e-05/0.3888, allocations: 4.719 kB / 0.6018 GB, free: 9.539 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001326/0.3889, allocations: 192.5 kB / 0.602 GB, free: 9.348 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3889, allocations: 1.531 kB / 0.602 GB, free: 9.348 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002149/0.3892, allocations: 19.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.0002114/0.3894, allocations: 118.6 kB / 0.6021 GB, free: 9.211 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002633/0.3896, allocations: 57.31 kB / 0.6022 GB, free: 9.156 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3897, allocations: 0 / 0.6022 GB, free: 9.156 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 9.87e-05/0.3898, allocations: 37.14 kB / 0.6022 GB, free: 9.121 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002759/0.39, allocations: 45.73 kB / 0.6023 GB, free: 9.082 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004556/0.3905, allocations: 285.7 kB / 0.6025 GB, free: 8.777 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001492/0.3907, allocations: 0.7173 MB / 0.6032 GB, free: 8.035 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.743e-05/0.3907, allocations: 20.48 kB / 0.6033 GB, free: 8.016 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.482e-05/0.3908, allocations: 16.78 kB / 0.6033 GB, free: 8 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3908, allocations: 0 / 0.6033 GB, free: 8 MB / 446.1 MB Notification: Performance of Templates: time 0.004489/0.3953, allocations: 1.801 MB / 0.605 GB, free: 6.27 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