Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.ThermalZones.ISO13790.Examples.FreeFloating.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: "" <> buildModelFMU(BuildSysPro.IBPSA.ThermalZones.ISO13790.Examples.FreeFloating,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_ThermalZones_ISO13790_Examples_FreeFloating",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.ThermalZones.ISO13790.Examples.FreeFloating,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_ThermalZones_ISO13790_Examples_FreeFloating",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001168/0.001168, allocations: 100.3 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.0009685/0.0009687, 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.442/1.442, allocations: 223.2 MB / 239.9 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.038/1.038, allocations: 143.3 MB / 434.3 MB, free: 13.71 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004971/0.0004972, allocations: 8 kB / 0.5159 GB, free: 11.18 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1737/0.1742, allocations: 83.41 MB / 0.5974 GB, free: 7.711 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.ThermalZones.ISO13790.Examples.FreeFloating): time 0.0088/0.1831, allocations: 7.366 MB / 0.6045 GB, free: 328 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4696/0.6527, allocations: 129.4 MB / 0.7309 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002327/0.6551, allocations: 34.44 kB / 0.731 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0007872/0.6559, allocations: 194.9 kB / 0.7311 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002848/0.6587, allocations: 0.8375 MB / 0.732 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003253/0.662, allocations: 1.086 MB / 0.733 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.006354/0.6684, allocations: 4.224 MB / 0.7371 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008425/0.6768, allocations: 6.254 MB / 0.7433 GB, free: 5.418 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004615/0.6815, allocations: 2.106 MB / 0.7453 GB, free: 3.566 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007315/0.6888, allocations: 2.596 MB / 0.7478 GB, free: 1.328 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.00248/0.6913, allocations: 176 kB / 0.748 GB, free: 1.156 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00302/0.6944, allocations: 487.5 kB / 0.7485 GB, free: 0.6797 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.002225/0.6966, allocations: 1.077 MB / 0.7495 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002182/0.6989, allocations: 1.392 MB / 0.7509 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01829/0.7172, allocations: 15.23 MB / 0.7658 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.7172, allocations: 4 kB / 0.7658 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.805e-06/0.7173, allocations: 4 kB / 0.7658 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0007974/0.7181, allocations: 0 / 0.7658 GB, free: 14.93 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: 2108 * Number of variables: 2108 Notification: Performance of Generate backend data structure: time 0.02288/0.7409, allocations: 7.455 MB / 0.773 GB, free: 7.395 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.128e-05/0.741, allocations: 8.031 kB / 0.7731 GB, free: 7.387 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00537/0.7464, allocations: 1.095 MB / 0.7741 GB, free: 6.281 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05494/0.8014, allocations: 11.28 MB / 0.7851 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01304/0.8145, allocations: 4.754 MB / 0.7898 GB, free: 6.137 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006112/0.8151, allocations: 0.5981 MB / 0.7904 GB, free: 5.535 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004256/0.8194, allocations: 0.7734 MB / 0.7911 GB, free: 4.762 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05312/0.8726, allocations: 17 MB / 0.8077 GB, free: 3.656 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001973/0.8728, allocations: 3.938 kB / 0.8077 GB, free: 3.652 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002998/0.8758, allocations: 332 kB / 0.808 GB, free: 3.328 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001774/0.876, allocations: 196.8 kB / 0.8082 GB, free: 3.137 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06267/0.9387, allocations: 22.38 MB / 0.8301 GB, free: 12.71 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.7126/1.651, allocations: 37.61 MB / 0.8668 GB, free: 171.9 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03278/1.684, allocations: 12.4 MB / 0.8789 GB, free: 171.1 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00127/1.685, allocations: 0.6362 MB / 0.8796 GB, free: 170.6 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02083/1.706, allocations: 7.588 MB / 0.887 GB, free: 168.2 MB / 0.67 GB Notification: Performance of pre-optimization done (n=567): time 1.424e-05/1.706, allocations: 0 / 0.887 GB, free: 168.2 MB / 0.67 GB Notification: Performance of matching and sorting (n=567): time 0.06805/1.774, allocations: 19.91 MB / 0.9064 GB, free: 161.6 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001332/1.775, allocations: 242.1 kB / 0.9066 GB, free: 161.4 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00619/1.781, allocations: 3.29 MB / 0.9099 GB, free: 160.2 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.002079/1.783, allocations: 117.6 kB / 0.91 GB, free: 160.1 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.002629/1.786, allocations: 2.585 MB / 0.9125 GB, free: 158.2 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.003474/1.789, allocations: 1.873 MB / 0.9143 GB, free: 156.7 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001158/1.79, allocations: 99.78 kB / 0.9144 GB, free: 156.7 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0004097/1.791, allocations: 0.4978 MB / 0.9149 GB, free: 156.3 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01814/1.809, allocations: 6.18 MB / 0.9209 GB, free: 154.2 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01832/1.827, allocations: 6.632 MB / 0.9274 GB, free: 151.8 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0178/1.845, allocations: 6.439 MB / 0.9337 GB, free: 149.3 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.178e-05/1.845, allocations: 0 / 0.9337 GB, free: 149.3 MB / 0.67 GB Notification: Performance of matching and sorting (n=635) (initialization): time 0.03796/1.883, allocations: 13.73 MB / 0.9471 GB, free: 143.8 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.44e-05/1.883, allocations: 4.188 kB / 0.9471 GB, free: 143.8 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.247e-05/1.883, allocations: 10.84 kB / 0.9471 GB, free: 143.8 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008471/1.884, allocations: 201.1 kB / 0.9473 GB, free: 143.7 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01277/1.897, allocations: 2.181 MB / 0.9494 GB, free: 142.9 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004459/1.901, allocations: 3.596 MB / 0.953 GB, free: 139.6 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01593/1.917, allocations: 1.487 MB / 0.9544 GB, free: 138.8 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003061/1.92, allocations: 267.2 kB / 0.9547 GB, free: 138.6 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (622): * Single equations (assignments): 620 * 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: 1 {(1,100.0%) 11} * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.01062/1.931, allocations: 2.53 MB / 0.9571 GB, free: 137 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002688/1.934, allocations: 407.5 kB / 0.9575 GB, free: 136.8 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05301/1.987, allocations: 15.3 MB / 0.9725 GB, free: 121.8 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.655e-05/1.987, allocations: 56 kB / 0.9725 GB, free: 121.8 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.156e-05/1.987, allocations: 4 kB / 0.9725 GB, free: 121.8 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001328/1.987, allocations: 27.89 kB / 0.9725 GB, free: 121.8 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06423/2.051, allocations: 26.81 MB / 0.9987 GB, free: 94.9 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.52e-05/2.051, allocations: 4 kB / 0.9987 GB, free: 94.89 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01303/2.064, allocations: 2.067 MB / 1.001 GB, free: 92.82 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009389/2.065, allocations: 190.7 kB / 1.001 GB, free: 92.63 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002352/2.068, allocations: 179.8 kB / 1.001 GB, free: 92.46 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003384/2.071, allocations: 3.616 MB / 1.005 GB, free: 88.57 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/2.071, allocations: 8 kB / 1.005 GB, free: 88.56 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06045/2.132, allocations: 22.39 MB / 1.026 GB, free: 66.03 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006563/2.138, allocations: 2.165 MB / 1.029 GB, free: 63.84 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003195/2.141, allocations: 100 kB / 1.029 GB, free: 63.74 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01063/2.152, allocations: 1.167 MB / 1.03 GB, free: 62.57 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001897/2.154, allocations: 340.2 kB / 1.03 GB, free: 62.23 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002139/2.156, allocations: 219.8 kB / 1.03 GB, free: 62.02 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.005129/2.161, allocations: 2.607 MB / 1.033 GB, free: 59.42 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.443e-06/2.161, allocations: 1.047 kB / 1.033 GB, free: 59.42 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.009599/2.171, allocations: 1.932 MB / 1.035 GB, free: 57.5 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (zon5R1C.capMas.T) * 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 (586): * Single equations (assignments): 582 * 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: 1 {(1,100.0%) 11} * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.06296/2.234, allocations: 23.59 MB / 1.058 GB, free: 34.01 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.03478/2.269, allocations: 13.81 MB / 1.071 GB, free: 20.11 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 6.482e-06/2.269, allocations: 0 / 1.071 GB, free: 20.11 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0191/2.288, allocations: 7.214 MB / 1.078 GB, free: 12.86 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004546/2.293, allocations: 0.5019 MB / 1.079 GB, free: 12.36 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4933/2.786, allocations: 60.53 MB / 1.138 GB, free: 205.6 MB / 0.7013 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005683/2.792, allocations: 5.166 MB / 1.143 GB, free: 203.8 MB / 0.7013 GB Notification: Performance of simCode: alias equations: time 0.01525/2.807, allocations: 2.662 MB / 1.146 GB, free: 203.6 MB / 0.7013 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009609/2.817, allocations: 2.947 MB / 1.149 GB, free: 201.4 MB / 0.7013 GB Notification: Performance of SimCode: time 2.866e-06/2.817, allocations: 0 / 1.149 GB, free: 201.4 MB / 0.7013 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1891/3.006, allocations: 134.5 MB / 1.28 GB, free: 105.6 MB / 0.7013 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000148/3.006, allocations: 263.8 kB / 1.28 GB, free: 105.2 MB / 0.7013 GB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o BuildSysPro_BuildSysPro_IBPSA_ThermalZones_ISO13790_Examples_FreeFloating.o BuildSysPro_BuildSysPro_IBPSA_ThermalZones_ISO13790_Examples_FreeFloating.c In file included from BuildSysPro_BuildSysPro_IBPSA_ThermalZones_ISO13790_Examples_FreeFloating.c:7: In file included from ./BuildSysPro_BuildSysPro_IBPSA_ThermalZones_ISO13790_Examples_FreeFloating_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o BuildSysPro_BuildSysPro_IBPSA_ThermalZones_ISO13790_Examples_FreeFloating_functions.o BuildSysPro_BuildSysPro_IBPSA_ThermalZones_ISO13790_Examples_FreeFloating_functions.c In file included from BuildSysPro_BuildSysPro_IBPSA_ThermalZones_ISO13790_Examples_FreeFloating_functions.c:2: In file included from ./BuildSysPro_BuildSysPro_IBPSA_ThermalZones_ISO13790_Examples_FreeFloating_functions.h:3: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ In file included from BuildSysPro_BuildSysPro_IBPSA_ThermalZones_ISO13790_Examples_FreeFloating_functions.c:7: ./BuildSysPro_BuildSysPro_IBPSA_ThermalZones_ISO13790_Examples_FreeFloating_includes.h:6:10: fatal error: 'getTimeSpan.c' file not found #include ^~~~~~~~~~~~~~~ 2 warnings and 1 error generated. make: *** [: BuildSysPro_BuildSysPro_IBPSA_ThermalZones_ISO13790_Examples_FreeFloating_functions.o] Error 1