Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.ThermalZones.ISO13790.Examples.HeatingCooling.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.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/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.ThermalZones.ISO13790.Examples.HeatingCooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.ThermalZones.ISO13790.Examples.HeatingCooling") translateModel(BuildSysPro.IBPSA.ThermalZones.ISO13790.Examples.HeatingCooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.ThermalZones.ISO13790.Examples.HeatingCooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009812/0.0009812, allocations: 99.39 kB / 15.05 MB, free: 1.105 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.0009877/0.0009877, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.276/1.276, allocations: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9624/0.9624, allocations: 143.3 MB / 434.3 MB, free: 13.77 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000297/0.000297, allocations: 12 kB / 0.5158 GB, free: 11.38 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1471/0.1475, allocations: 83.4 MB / 0.5973 GB, free: 7.91 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.ThermalZones.ISO13790.Examples.HeatingCooling): time 0.2687/0.4162, allocations: 8.772 MB / 0.6058 GB, free: 35.72 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1339/0.5501, allocations: 129.9 MB / 0.7327 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002108/0.5523, allocations: 52.72 kB / 0.7327 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001245/0.5535, allocations: 241.8 kB / 0.733 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003492/0.557, allocations: 0.9545 MB / 0.7339 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003823/0.5609, allocations: 1.342 MB / 0.7352 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.007478/0.5684, allocations: 4.567 MB / 0.7397 GB, free: 9.109 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009204/0.5776, allocations: 6.422 MB / 0.7459 GB, free: 3.367 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003773/0.5814, allocations: 2.249 MB / 0.7481 GB, free: 1.289 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004217/0.5856, allocations: 2.727 MB / 0.7508 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.001168/0.5868, allocations: 188 kB / 0.751 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003007/0.5898, allocations: 487.6 kB / 0.7514 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.002255/0.5921, allocations: 1.143 MB / 0.7526 GB, free: 12.74 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001601/0.5937, allocations: 1.455 MB / 0.754 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01186/0.6056, allocations: 15.59 MB / 0.7692 GB, free: 11.65 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.6056, allocations: 0 / 0.7692 GB, free: 11.65 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.254e-06/0.6056, allocations: 4 kB / 0.7692 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.000328/0.6059, allocations: 0 / 0.7692 GB, free: 11.64 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2188 * Number of variables: 2188 Notification: Performance of Generate backend data structure: time 0.01918/0.6251, allocations: 7.874 MB / 0.7769 GB, free: 3.691 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.559e-05/0.6252, allocations: 12.03 kB / 0.7769 GB, free: 3.68 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05502/0.6802, allocations: 11.33 MB / 0.788 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01234/0.6926, allocations: 4.997 MB / 0.7928 GB, free: 3.242 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005493/0.6932, allocations: 0.6183 MB / 0.7934 GB, free: 2.621 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003405/0.6966, allocations: 0.8086 MB / 0.7942 GB, free: 1.812 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0507/0.7473, allocations: 17.32 MB / 0.8112 GB, free: 376 kB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000268/0.7476, allocations: 0 / 0.8112 GB, free: 376 kB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003246/0.7509, allocations: 344 kB / 0.8115 GB, free: 32 kB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002004/0.7511, allocations: 208 kB / 0.8117 GB, free: 15.82 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06281/0.8139, allocations: 22.61 MB / 0.8338 GB, free: 9.184 MB / 0.6544 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7382/1.552, allocations: 38.86 MB / 0.8717 GB, free: 79.67 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03774/1.59, allocations: 12.65 MB / 0.8841 GB, free: 79.5 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00136/1.591, allocations: 0.6348 MB / 0.8847 GB, free: 79.02 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02324/1.615, allocations: 7.693 MB / 0.8922 GB, free: 78.82 MB / 0.67 GB Notification: Performance of pre-optimization done (n=591): time 1.764e-05/1.615, allocations: 0 / 0.8922 GB, free: 78.82 MB / 0.67 GB Notification: Performance of matching and sorting (n=591): time 0.06422/1.679, allocations: 20.63 MB / 0.9123 GB, free: 78.12 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000119/1.679, allocations: 241.5 kB / 0.9126 GB, free: 77.89 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006377/1.685, allocations: 3.589 MB / 0.9161 GB, free: 77.14 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.002216/1.688, allocations: 126.7 kB / 0.9162 GB, free: 77.11 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.002538/1.69, allocations: 2.788 MB / 0.9189 GB, free: 75.56 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.003473/1.694, allocations: 1.951 MB / 0.9208 GB, free: 74.14 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001941/1.696, allocations: 102.4 kB / 0.9209 GB, free: 74.14 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0004663/1.696, allocations: 0.5137 MB / 0.9214 GB, free: 73.76 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01714/1.713, allocations: 6.251 MB / 0.9275 GB, free: 72.42 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01787/1.731, allocations: 6.759 MB / 0.9341 GB, free: 69.33 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01835/1.75, allocations: 6.53 MB / 0.9405 GB, free: 65.07 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.765e-05/1.75, allocations: 3 kB / 0.9405 GB, free: 65.07 MB / 0.67 GB Notification: Performance of matching and sorting (n=668) (initialization): time 0.04457/1.794, allocations: 14.09 MB / 0.9543 GB, free: 55.25 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 4.058e-05/1.794, allocations: 8 kB / 0.9543 GB, free: 55.24 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.631e-05/1.794, allocations: 8 kB / 0.9543 GB, free: 55.23 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001341/1.796, allocations: 328.6 kB / 0.9546 GB, free: 54.96 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01337/1.809, allocations: 2.206 MB / 0.9567 GB, free: 52.86 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006185/1.815, allocations: 4.682 MB / 0.9613 GB, free: 48.82 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01157/1.827, allocations: 1.518 MB / 0.9628 GB, free: 47.38 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002539/1.83, allocations: 270.9 kB / 0.9631 GB, free: 47.16 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,conCooPID.I.trigger_internal,conHeaPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (641): * Single equations (assignments): 639 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 25,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.009204/1.839, allocations: 2.581 MB / 0.9656 GB, free: 45.77 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002834/1.842, allocations: 454.3 kB / 0.966 GB, free: 45.32 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04927/1.891, allocations: 15.62 MB / 0.9813 GB, free: 34.36 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.071e-05/1.891, allocations: 63.95 kB / 0.9813 GB, free: 34.3 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.604e-05/1.891, allocations: 0 / 0.9813 GB, free: 34.3 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001578/1.891, allocations: 27.89 kB / 0.9814 GB, free: 34.27 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06791/1.959, allocations: 27.42 MB / 1.008 GB, free: 15.42 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.976e-05/1.959, allocations: 0 / 1.008 GB, free: 15.42 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01266/1.972, allocations: 2.083 MB / 1.01 GB, free: 13.39 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001314/1.973, allocations: 317.2 kB / 1.01 GB, free: 13.08 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002101/1.975, allocations: 187.8 kB / 1.011 GB, free: 12.89 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005526/1.981, allocations: 4.66 MB / 1.015 GB, free: 7.992 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/1.981, allocations: 0 / 1.015 GB, free: 7.992 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06348/2.045, allocations: 22.83 MB / 1.037 GB, free: 1.039 MB / 0.6857 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006572/2.051, allocations: 2.212 MB / 1.04 GB, free: 14.8 MB / 0.7013 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002699/2.054, allocations: 102.8 kB / 1.04 GB, free: 14.7 MB / 0.7013 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01026/2.064, allocations: 1.186 MB / 1.041 GB, free: 13.52 MB / 0.7013 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001567/2.066, allocations: 363.3 kB / 1.041 GB, free: 13.16 MB / 0.7013 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001676/2.067, allocations: 223.8 kB / 1.041 GB, free: 12.94 MB / 0.7013 GB Notification: Performance of sorting global known variables: time 0.005257/2.073, allocations: 2.79 MB / 1.044 GB, free: 10.17 MB / 0.7013 GB Notification: Performance of sort global known variables: time 1.81e-07/2.073, allocations: 0 / 1.044 GB, free: 10.17 MB / 0.7013 GB Notification: Performance of remove unused functions: time 0.008204/2.081, allocations: 2.011 MB / 1.046 GB, free: 8.172 MB / 0.7013 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (zon5R1C.capMas.T,conHeaPID.I.y,conCooPID.I.y) * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (596): * Single equations (assignments): 592 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.003143/2.084, allocations: 0.7355 MB / 1.047 GB, free: 7.734 MB / 0.7013 GB Notification: Performance of simCode: created initialization part: time 0.03931/2.123, allocations: 14.06 MB / 1.061 GB, free: 9.672 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 8.145e-06/2.123, allocations: 4 kB / 1.061 GB, free: 9.668 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.01996/2.143, allocations: 7.369 MB / 1.068 GB, free: 2.375 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004966/2.148, allocations: 0.5886 MB / 1.068 GB, free: 1.793 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04401/2.192, allocations: 22.06 MB / 1.09 GB, free: 11.68 MB / 0.7482 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005077/2.198, allocations: 5.337 MB / 1.095 GB, free: 6.305 MB / 0.7482 GB Notification: Performance of simCode: alias equations: time 0.01273/2.21, allocations: 2.729 MB / 1.098 GB, free: 3.57 MB / 0.7482 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00333/2.214, allocations: 0.5848 MB / 1.098 GB, free: 2.984 MB / 0.7482 GB Notification: Performance of SimCode: time 1.884e-06/2.214, allocations: 0 / 1.098 GB, free: 2.984 MB / 0.7482 GB Notification: Performance of Templates: time 0.4026/2.616, allocations: 90.03 MB / 1.186 GB, free: 275.2 MB / 0.795 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.ThermalZones.ISO13790.Examples.HeatingCooling.makefile Environment - environmentSimulation: make -j1 -f BuildSysPro_BuildSysPro.IBPSA.ThermalZones.ISO13790.Examples.HeatingCooling.makefile clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=BuildSysPro_BuildSysPro_IBPSA_ThermalZones_ISO13790_Examples_HeatingCooling -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=4 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o BuildSysPro_BuildSysPro.IBPSA.ThermalZones.ISO13790.Examples.HeatingCooling.o BuildSysPro_BuildSysPro.IBPSA.ThermalZones.ISO13790.Examples.HeatingCooling.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=BuildSysPro_BuildSysPro_IBPSA_ThermalZones_ISO13790_Examples_HeatingCooling -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=4 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o BuildSysPro_BuildSysPro.IBPSA.ThermalZones.ISO13790.Examples.HeatingCooling_functions.o BuildSysPro_BuildSysPro.IBPSA.ThermalZones.ISO13790.Examples.HeatingCooling_functions.c In file included from BuildSysPro_BuildSysPro.IBPSA.ThermalZones.ISO13790.Examples.HeatingCooling_functions.c:7: ./BuildSysPro_BuildSysPro.IBPSA.ThermalZones.ISO13790.Examples.HeatingCooling_includes.h:6:10: fatal error: 'getTimeSpan.c' file not found #include ^~~~~~~~~~~~~~~ 1 error generated. make: *** [: BuildSysPro_BuildSysPro.IBPSA.ThermalZones.ISO13790.Examples.HeatingCooling_functions.o] Error 1