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: "" <> buildModelFMU(BuildSysPro.IBPSA.ThermalZones.ISO13790.Examples.HeatingCooling,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_ThermalZones_ISO13790_Examples_HeatingCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.ThermalZones.ISO13790.Examples.HeatingCooling,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_ThermalZones_ISO13790_Examples_HeatingCooling",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.001142/0.001142, allocations: 99.62 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.001418/0.001418, 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.431/1.431, allocations: 223.2 MB / 239.9 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9956/0.9956, allocations: 143.3 MB / 434.3 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004046/0.0004048, allocations: 8 kB / 0.5159 GB, free: 11.3 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.198/0.1985, allocations: 83.41 MB / 0.5974 GB, free: 7.828 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.ThermalZones.ISO13790.Examples.HeatingCooling): time 0.3567/0.5552, allocations: 8.77 MB / 0.6059 GB, free: 35.12 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1551/0.7104, allocations: 129.9 MB / 0.7328 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003006/0.7134, allocations: 51.41 kB / 0.7328 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001614/0.7151, allocations: 237.8 kB / 0.733 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004425/0.7195, allocations: 0.9559 MB / 0.734 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004438/0.724, allocations: 1.338 MB / 0.7353 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.008555/0.7325, allocations: 4.561 MB / 0.7397 GB, free: 8.84 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008409/0.741, allocations: 6.432 MB / 0.746 GB, free: 3.086 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004423/0.7454, allocations: 2.249 MB / 0.7482 GB, free: 1.07 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005143/0.7506, allocations: 2.716 MB / 0.7509 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.001256/0.7519, allocations: 188 kB / 0.751 GB, free: 14.15 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002104/0.754, allocations: 495.5 kB / 0.7515 GB, free: 13.67 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001133/0.7552, allocations: 1.139 MB / 0.7526 GB, free: 12.53 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001669/0.7568, allocations: 1.459 MB / 0.754 GB, free: 11.06 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01547/0.7723, allocations: 15.59 MB / 0.7693 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.7724, allocations: 0 / 0.7693 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.284e-06/0.7724, allocations: 0 / 0.7693 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0004645/0.7729, allocations: 0 / 0.7693 GB, free: 11.43 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.02253/0.7954, allocations: 7.874 MB / 0.777 GB, free: 3.48 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/0.7954, allocations: 8.031 kB / 0.777 GB, free: 3.473 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004577/0.8, allocations: 1.139 MB / 0.7781 GB, free: 2.324 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05859/0.8586, allocations: 11.33 MB / 0.7891 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01487/0.8735, allocations: 4.997 MB / 0.794 GB, free: 1.891 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007241/0.8743, allocations: 0.6183 MB / 0.7946 GB, free: 1.27 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004474/0.8788, allocations: 0.8047 MB / 0.7954 GB, free: 476 kB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05969/0.9385, allocations: 17.32 MB / 0.8123 GB, free: 15.02 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002169/0.9388, allocations: 0 / 0.8123 GB, free: 15.02 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003725/0.9425, allocations: 348 kB / 0.8127 GB, free: 14.68 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002847/0.9428, allocations: 208 kB / 0.8129 GB, free: 14.47 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06644/1.009, allocations: 22.61 MB / 0.8349 GB, free: 7.824 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.6927/1.702, allocations: 38.87 MB / 0.8729 GB, free: 173.1 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03576/1.738, allocations: 12.65 MB / 0.8853 GB, free: 170.6 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001614/1.739, allocations: 0.6294 MB / 0.8859 GB, free: 170.1 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02514/1.765, allocations: 7.685 MB / 0.8934 GB, free: 167.6 MB / 0.67 GB Notification: Performance of pre-optimization done (n=591): time 2.031e-05/1.765, allocations: 3.172 kB / 0.8934 GB, free: 167.6 MB / 0.67 GB Notification: Performance of matching and sorting (n=591): time 0.07032/1.835, allocations: 20.63 MB / 0.9135 GB, free: 160.8 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001144/1.835, allocations: 245.5 kB / 0.9138 GB, free: 160.5 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006136/1.841, allocations: 3.581 MB / 0.9173 GB, free: 159.2 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.002178/1.844, allocations: 125.2 kB / 0.9174 GB, free: 159.1 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.002333/1.846, allocations: 2.792 MB / 0.9201 GB, free: 157.1 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.003441/1.849, allocations: 1.951 MB / 0.922 GB, free: 155.6 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009441/1.85, allocations: 105.9 kB / 0.9221 GB, free: 155.5 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0003229/1.851, allocations: 0.5072 MB / 0.9226 GB, free: 155.1 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01675/1.867, allocations: 6.256 MB / 0.9287 GB, free: 153 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01746/1.885, allocations: 6.756 MB / 0.9353 GB, free: 150.5 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01688/1.902, allocations: 6.533 MB / 0.9417 GB, free: 147.1 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.237e-05/1.902, allocations: 3.875 kB / 0.9417 GB, free: 147.1 MB / 0.67 GB Notification: Performance of matching and sorting (n=668) (initialization): time 0.03924/1.941, allocations: 14.08 MB / 0.9555 GB, free: 139.3 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.368e-05/1.941, allocations: 8 kB / 0.9555 GB, free: 139.3 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.311e-05/1.941, allocations: 5.031 kB / 0.9555 GB, free: 139.3 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001257/1.942, allocations: 330.5 kB / 0.9558 GB, free: 139 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01307/1.955, allocations: 2.211 MB / 0.9579 GB, free: 136.8 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005689/1.961, allocations: 4.683 MB / 0.9625 GB, free: 131.9 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01099/1.972, allocations: 1.517 MB / 0.964 GB, free: 130.4 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002195/1.974, allocations: 272.3 kB / 0.9643 GB, free: 130.1 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.007865/1.982, allocations: 2.576 MB / 0.9668 GB, free: 127.5 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002168/1.985, allocations: 455.2 kB / 0.9672 GB, free: 127.1 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04644/2.031, allocations: 15.62 MB / 0.9825 GB, free: 111.4 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.473e-05/2.031, allocations: 60 kB / 0.9825 GB, free: 111.3 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.065e-05/2.031, allocations: 0 / 0.9825 GB, free: 111.3 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001763/2.031, allocations: 39.83 kB / 0.9826 GB, free: 111.3 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06715/2.098, allocations: 27.41 MB / 1.009 GB, free: 83.81 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.291e-05/2.098, allocations: 3.984 kB / 1.009 GB, free: 83.81 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01263/2.111, allocations: 2.075 MB / 1.011 GB, free: 81.73 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001323/2.112, allocations: 324.9 kB / 1.012 GB, free: 81.41 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002404/2.115, allocations: 191.8 kB / 1.012 GB, free: 81.22 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005406/2.12, allocations: 4.659 MB / 1.016 GB, free: 76.3 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/2.12, allocations: 3.938 kB / 1.016 GB, free: 76.3 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05849/2.179, allocations: 22.82 MB / 1.039 GB, free: 53.34 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00666/2.186, allocations: 2.219 MB / 1.041 GB, free: 51.09 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003575/2.189, allocations: 100 kB / 1.041 GB, free: 51 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01112/2.2, allocations: 1.178 MB / 1.042 GB, free: 49.82 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001968/2.202, allocations: 356.4 kB / 1.042 GB, free: 49.46 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0018/2.204, allocations: 227.7 kB / 1.043 GB, free: 49.24 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.004838/2.209, allocations: 2.79 MB / 1.045 GB, free: 46.47 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.5e-07/2.209, allocations: 0 / 1.045 GB, free: 46.47 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.009266/2.218, allocations: 2.014 MB / 1.047 GB, free: 44.47 MB / 0.67 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.06343/2.282, allocations: 24.04 MB / 1.071 GB, free: 20.52 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.03649/2.318, allocations: 14.06 MB / 1.085 GB, free: 6.379 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 7.935e-06/2.318, allocations: 0 / 1.085 GB, free: 6.379 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.01969/2.338, allocations: 7.374 MB / 1.092 GB, free: 14.97 MB / 0.6857 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004858/2.343, allocations: 0.5873 MB / 1.092 GB, free: 14.39 MB / 0.6857 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5161/2.859, allocations: 65 MB / 1.156 GB, free: 198.2 MB / 0.7013 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007982/2.867, allocations: 5.338 MB / 1.161 GB, free: 196.4 MB / 0.7013 GB Notification: Performance of simCode: alias equations: time 0.01778/2.885, allocations: 2.712 MB / 1.164 GB, free: 196 MB / 0.7013 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01016/2.895, allocations: 3.185 MB / 1.167 GB, free: 193.5 MB / 0.7013 GB Notification: Performance of SimCode: time 9.82e-07/2.895, allocations: 0 / 1.167 GB, free: 193.5 MB / 0.7013 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2003/3.096, allocations: 143 MB / 1.306 GB, free: 77.54 MB / 0.7013 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001777/3.096, allocations: 270.7 kB / 1.307 GB, free: 77.17 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_HeatingCooling.o BuildSysPro_BuildSysPro_IBPSA_ThermalZones_ISO13790_Examples_HeatingCooling.c In file included from BuildSysPro_BuildSysPro_IBPSA_ThermalZones_ISO13790_Examples_HeatingCooling.c:7: In file included from ./BuildSysPro_BuildSysPro_IBPSA_ThermalZones_ISO13790_Examples_HeatingCooling_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_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:2: In file included from ./BuildSysPro_BuildSysPro_IBPSA_ThermalZones_ISO13790_Examples_HeatingCooling_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_HeatingCooling_functions.c:7: ./BuildSysPro_BuildSysPro_IBPSA_ThermalZones_ISO13790_Examples_HeatingCooling_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_HeatingCooling_functions.o] Error 1