Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.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.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement") translateModel(BuildSysPro.IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001438/0.001438, allocations: 109 kB / 16.41 MB, free: 6.492 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.001395/0.001395, allocations: 189.5 kB / 17.34 MB, free: 5.762 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.416/1.416, allocations: 222.9 MB / 241 MB, free: 15.15 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.879/0.879, allocations: 143.1 MB / 434.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001205/0.001205, allocations: 68.95 kB / 0.5962 GB, free: 12.31 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1672/0.1684, allocations: 82.03 MB / 0.6763 GB, free: 10.37 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement): time 0.6595/0.8279, allocations: 160.1 MB / 0.8326 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.03488/0.8629, allocations: 26.67 MB / 0.8587 GB, free: 2.59 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003792/0.8667, allocations: 71.09 kB / 0.8587 GB, free: 2.566 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002893/0.8697, allocations: 0.9839 MB / 0.8597 GB, free: 1.797 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.005676/0.8754, allocations: 1.605 MB / 0.8613 GB, free: 192 kB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.004904/0.8803, allocations: 1.654 MB / 0.8629 GB, free: 14.54 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.00663/0.8869, allocations: 4.575 MB / 0.8673 GB, free: 9.953 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006432/0.8934, allocations: 4.109 MB / 0.8714 GB, free: 5.793 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004275/0.8977, allocations: 1.966 MB / 0.8733 GB, free: 3.824 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004484/0.9022, allocations: 2.332 MB / 0.8756 GB, free: 1.484 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.001626/0.9038, allocations: 424 kB / 0.876 GB, free: 1.07 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003354/0.9072, allocations: 1.038 MB / 0.877 GB, free: 32 kB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001827/0.909, allocations: 1.106 MB / 0.8781 GB, free: 14.92 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.004064/0.9131, allocations: 1.928 MB / 0.8799 GB, free: 12.98 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.008578/0.9217, allocations: 5.775 MB / 0.8856 GB, free: 7.191 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/0.9218, allocations: 0 / 0.8856 GB, free: 7.191 MB / 0.6544 GB Notification: Performance of FrontEnd: time 3.036e-06/0.9218, allocations: 4 kB / 0.8856 GB, free: 7.188 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0001536/0.9219, allocations: 0 / 0.8856 GB, free: 7.188 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 790 * Number of variables: 790 Notification: Performance of Generate backend data structure: time 0.009803/0.9317, allocations: 4.32 MB / 0.8898 GB, free: 2.797 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.624e-05/0.9318, allocations: 8.031 kB / 0.8898 GB, free: 2.789 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01332/0.9451, allocations: 2.746 MB / 0.8925 GB, free: 36 kB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005119/0.9503, allocations: 2.214 MB / 0.8947 GB, free: 13.77 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001747/0.9505, allocations: 230.2 kB / 0.8949 GB, free: 13.54 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007849/0.9513, allocations: 300 kB / 0.8952 GB, free: 13.25 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01174/0.9631, allocations: 4.967 MB / 0.9 GB, free: 8.199 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.821e-05/0.9632, allocations: 4 kB / 0.9 GB, free: 8.195 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003661/0.9635, allocations: 128 kB / 0.9001 GB, free: 8.07 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.81e-05/0.9636, allocations: 76 kB / 0.9002 GB, free: 7.996 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01425/0.9778, allocations: 6.111 MB / 0.9062 GB, free: 1.871 MB / 0.67 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.02471/1.003, allocations: 13.52 MB / 0.9194 GB, free: 3.902 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009998/1.013, allocations: 4.348 MB / 0.9236 GB, free: 15.55 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005471/1.018, allocations: 2.323 MB / 0.9259 GB, free: 13.22 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001291/1.019, allocations: 0.6658 MB / 0.9265 GB, free: 12.43 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007405/1.027, allocations: 2.37 MB / 0.9289 GB, free: 10.02 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=257): time 6.262e-06/1.027, allocations: 0 / 0.9289 GB, free: 10.02 MB / 0.7012 GB Notification: Performance of matching and sorting (n=257): time 0.01888/1.046, allocations: 6.943 MB / 0.9356 GB, free: 2.949 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001505/1.046, allocations: 214 kB / 0.9358 GB, free: 2.695 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004614/1.051, allocations: 2.311 MB / 0.9381 GB, free: 360 kB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0007192/1.051, allocations: 69.7 kB / 0.9382 GB, free: 284 kB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.001631/1.053, allocations: 1.294 MB / 0.9394 GB, free: 14.96 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.001509/1.055, allocations: 0.8624 MB / 0.9403 GB, free: 14.09 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001873/1.056, allocations: 476.2 kB / 0.9407 GB, free: 13.62 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001218/1.057, allocations: 305.1 kB / 0.941 GB, free: 13.32 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005101/1.062, allocations: 1.893 MB / 0.9429 GB, free: 11.42 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005434/1.067, allocations: 2.193 MB / 0.945 GB, free: 9.148 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01026/1.077, allocations: 4.061 MB / 0.949 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.515e-05/1.078, allocations: 0 / 0.949 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01326/1.091, allocations: 4.699 MB / 0.9536 GB, free: 248 kB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.898e-05/1.091, allocations: 8 kB / 0.9536 GB, free: 240 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.84e-05/1.091, allocations: 4 kB / 0.9536 GB, free: 236 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007216/1.092, allocations: 230.2 kB / 0.9538 GB, free: 4 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004346/1.096, allocations: 0.78 MB / 0.9546 GB, free: 15.22 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004555/1.101, allocations: 3.374 MB / 0.9579 GB, free: 11.72 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004406/1.105, allocations: 0.5247 MB / 0.9584 GB, free: 11.19 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009533/1.106, allocations: 111.9 kB / 0.9585 GB, free: 11.08 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.intGai.nextTimeEvent,$whenCondition1,weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEvent,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition2,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (272): * Single equations (assignments): 271 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,21,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00327/1.109, allocations: 0.8882 MB / 0.9593 GB, free: 10.18 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001286/1.111, allocations: 260.7 kB / 0.9596 GB, free: 9.926 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01489/1.126, allocations: 5.261 MB / 0.9647 GB, free: 4.598 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.631e-05/1.126, allocations: 28 kB / 0.9648 GB, free: 4.57 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.875e-05/1.126, allocations: 4 kB / 0.9648 GB, free: 4.566 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.216e-05/1.126, allocations: 19.88 kB / 0.9648 GB, free: 4.547 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02125/1.147, allocations: 8.826 MB / 0.9734 GB, free: 11.59 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.779e-05/1.147, allocations: 3.984 kB / 0.9734 GB, free: 11.59 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004041/1.151, allocations: 0.7176 MB / 0.9741 GB, free: 10.87 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009461/1.152, allocations: 264.4 kB / 0.9744 GB, free: 10.6 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005373/1.153, allocations: 67.94 kB / 0.9744 GB, free: 10.54 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005448/1.158, allocations: 5.234 MB / 0.9795 GB, free: 5 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.766e-06/1.158, allocations: 64 / 0.9795 GB, free: 5 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02005/1.178, allocations: 7.529 MB / 0.9869 GB, free: 13.37 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002575/1.181, allocations: 0.7782 MB / 0.9876 GB, free: 12.57 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001291/1.182, allocations: 55.84 kB / 0.9877 GB, free: 12.52 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003739/1.186, allocations: 387.4 kB / 0.9881 GB, free: 12.14 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007153/1.187, allocations: 169.8 kB / 0.9882 GB, free: 11.97 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005375/1.187, allocations: 91.94 kB / 0.9883 GB, free: 11.88 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.003555/1.191, allocations: 1.688 MB / 0.99 GB, free: 10.18 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.9e-07/1.191, allocations: 0 / 0.99 GB, free: 10.18 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.004244/1.195, allocations: 0.9777 MB / 0.9909 GB, free: 9.195 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (thermalZoneOneElement.volAir.dynBal.U,thermalZoneOneElement.volAir.dynBal.m,thermalZoneOneElement.extWallRC.thermCapExt[1].T) * Number of discrete variables: 7 ($whenCondition3,$whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext,intGai.nextTimeEvent,intGai.nextTimeEventScaled) * Number of discrete states: 4 (intGai.nextTimeEvent,intGai.nextTimeEventScaled,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (251): * Single equations (assignments): 244 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,16,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003302/1.198, allocations: 1.03 MB / 0.9919 GB, free: 8.5 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.01272/1.211, allocations: 4.585 MB / 0.9964 GB, free: 3.867 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 6.282e-06/1.211, allocations: 0.6875 kB / 0.9964 GB, free: 3.867 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.006789/1.218, allocations: 2.603 MB / 0.9989 GB, free: 1.23 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004702/1.223, allocations: 0.6574 MB / 0.9996 GB, free: 0.6133 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0189/1.242, allocations: 7.44 MB / 1.007 GB, free: 9.133 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003267/1.245, allocations: 2.303 MB / 1.009 GB, free: 6.797 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002514/1.247, allocations: 299.2 kB / 1.009 GB, free: 6.504 MB / 0.7794 GB Notification: Performance of SimCode: time 4.979e-06/1.247, allocations: 0 / 1.009 GB, free: 6.504 MB / 0.7794 GB Notification: Performance of Templates: time 0.5052/1.753, allocations: 79.54 MB / 1.087 GB, free: 302.6 MB / 0.8262 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.makefile make -j1 -f BuildSysPro_BuildSysPro.IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.makefile clang++ -std=c++17 -fopenmp=libomp -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildSysPro_BuildSysPro.IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElementCalcHelperMain.o OMCppBuildSysPro_BuildSysPro.IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElementCalcHelperMain.cpp In file included from OMCppBuildSysPro_BuildSysPro.IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElementCalcHelperMain.cpp:28: ./OMCppBuildSysPro_BuildSysPro.IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElementFunctions.cpp:7:10: fatal error: 'getTimeSpan.c' file not found #include ^~~~~~~~~~~~~~~ 1 error generated. make: *** [: OMCppBuildSysPro_BuildSysPro.IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElementCalcHelperMain.o] Error 1