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.006433/0.006433, allocations: 101.5 kB / 15.88 MB, free: 5.867 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.001473/0.001473, allocations: 189.2 kB / 16.79 MB, free: 5.809 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.337/1.337, allocations: 222.9 MB / 240.5 MB, free: 4.566 MB / 190.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.9663/0.9663, allocations: 143.1 MB / 433.7 MB, free: 11.56 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001908/0.001908, allocations: 59.91 kB / 0.5141 GB, free: 12.17 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1853/0.1872, allocations: 82.04 MB / 0.5943 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement): time 0.4941/0.6814, allocations: 157.7 MB / 0.7483 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.03393/0.7154, allocations: 26.49 MB / 0.7742 GB, free: 5.492 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003948/0.7194, allocations: 71.62 kB / 0.7742 GB, free: 5.422 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002579/0.722, allocations: 0.8674 MB / 0.7751 GB, free: 4.551 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004937/0.727, allocations: 1.461 MB / 0.7765 GB, free: 3.09 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004194/0.7312, allocations: 1.463 MB / 0.7779 GB, free: 1.645 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.005929/0.7371, allocations: 4.777 MB / 0.7826 GB, free: 12.86 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004654/0.7418, allocations: 3.692 MB / 0.7862 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002877/0.7447, allocations: 1.595 MB / 0.7878 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0033/0.748, allocations: 2.179 MB / 0.7899 GB, free: 5.324 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0007179/0.7488, allocations: 228 kB / 0.7901 GB, free: 5.102 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002246/0.751, allocations: 0.8349 MB / 0.7909 GB, free: 4.266 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0008454/0.7519, allocations: 0.9029 MB / 0.7918 GB, free: 3.359 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.002008/0.7539, allocations: 1.709 MB / 0.7935 GB, free: 1.641 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.004167/0.7581, allocations: 4.506 MB / 0.7979 GB, free: 13.12 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.7581, allocations: 0 / 0.7979 GB, free: 13.12 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.082e-06/0.7581, allocations: 4 kB / 0.7979 GB, free: 13.12 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0001142/0.7582, allocations: 0 / 0.7979 GB, free: 13.12 MB / 0.6231 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.00883/0.7671, allocations: 4.315 MB / 0.8021 GB, free: 8.738 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/0.7671, allocations: 8.031 kB / 0.8021 GB, free: 8.73 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01362/0.7808, allocations: 2.753 MB / 0.8048 GB, free: 5.969 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004694/0.7855, allocations: 2.18 MB / 0.8069 GB, free: 3.738 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001805/0.7857, allocations: 230.2 kB / 0.8071 GB, free: 3.512 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008098/0.7865, allocations: 303.9 kB / 0.8074 GB, free: 3.215 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01332/0.7999, allocations: 4.963 MB / 0.8123 GB, free: 14.17 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.771e-05/0.8, allocations: 3.938 kB / 0.8123 GB, free: 14.16 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003936/0.8004, allocations: 128 kB / 0.8124 GB, free: 14.04 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.115e-05/0.8004, allocations: 76 kB / 0.8125 GB, free: 13.96 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01494/0.8154, allocations: 6.103 MB / 0.8184 GB, free: 7.848 MB / 0.6387 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.03097/0.8464, allocations: 13.64 MB / 0.8318 GB, free: 9.77 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01089/0.8573, allocations: 4.345 MB / 0.836 GB, free: 5.426 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005555/0.8629, allocations: 2.319 MB / 0.8383 GB, free: 3.102 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001108/0.8641, allocations: 0.6695 MB / 0.8389 GB, free: 2.301 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006334/0.8704, allocations: 2.37 MB / 0.8412 GB, free: 15.89 MB / 0.67 GB Notification: Performance of pre-optimization done (n=257): time 7.715e-06/0.8705, allocations: 3.984 kB / 0.8412 GB, free: 15.89 MB / 0.67 GB Notification: Performance of matching and sorting (n=257): time 0.01989/0.8904, allocations: 6.947 MB / 0.848 GB, free: 8.82 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001204/0.8905, allocations: 210 kB / 0.8482 GB, free: 8.57 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004009/0.8945, allocations: 2.299 MB / 0.8505 GB, free: 6.238 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0006896/0.8953, allocations: 73.69 kB / 0.8505 GB, free: 6.16 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001371/0.8966, allocations: 1.298 MB / 0.8518 GB, free: 4.844 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.001394/0.8981, allocations: 0.851 MB / 0.8526 GB, free: 3.98 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00185/0.8999, allocations: 480.1 kB / 0.8531 GB, free: 3.504 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001078/0.9, allocations: 309.1 kB / 0.8534 GB, free: 3.199 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004769/0.9048, allocations: 1.89 MB / 0.8552 GB, free: 1.305 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3255/1.23, allocations: 2.183 MB / 0.8574 GB, free: 206.1 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008933/1.239, allocations: 4.064 MB / 0.8613 GB, free: 205.9 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-05/1.239, allocations: 2.844 kB / 0.8613 GB, free: 205.9 MB / 0.67 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.009973/1.249, allocations: 4.702 MB / 0.8659 GB, free: 205 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.889e-05/1.249, allocations: 8.906 kB / 0.8659 GB, free: 205 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.448e-05/1.249, allocations: 2.719 kB / 0.8659 GB, free: 205 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006009/1.25, allocations: 227.5 kB / 0.8662 GB, free: 205 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003673/1.254, allocations: 0.7764 MB / 0.8669 GB, free: 205 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003479/1.257, allocations: 3.101 MB / 0.87 GB, free: 202.9 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003709/1.261, allocations: 0.5272 MB / 0.8705 GB, free: 202.8 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004399/1.261, allocations: 108.8 kB / 0.8706 GB, free: 202.8 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: 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.001793/1.263, allocations: 0.8992 MB / 0.8714 GB, free: 202.4 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006641/1.264, allocations: 260.3 kB / 0.8717 GB, free: 202.3 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01127/1.275, allocations: 5.262 MB / 0.8768 GB, free: 200.7 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.33e-05/1.275, allocations: 25.97 kB / 0.8769 GB, free: 200.7 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.327e-06/1.275, allocations: 2.469 kB / 0.8769 GB, free: 200.7 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.772e-05/1.275, allocations: 19.55 kB / 0.8769 GB, free: 200.7 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01668/1.292, allocations: 8.812 MB / 0.8855 GB, free: 197.6 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.135e-05/1.292, allocations: 0 / 0.8855 GB, free: 197.6 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003768/1.296, allocations: 0.7187 MB / 0.8862 GB, free: 197.6 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008313/1.297, allocations: 266.4 kB / 0.8864 GB, free: 197.5 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004026/1.297, allocations: 77.97 kB / 0.8865 GB, free: 197.4 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003995/1.301, allocations: 4.796 MB / 0.8912 GB, free: 193.5 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/1.301, allocations: 1.938 kB / 0.8912 GB, free: 193.5 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01757/1.319, allocations: 7.522 MB / 0.8985 GB, free: 190.9 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001938/1.321, allocations: 0.7771 MB / 0.8993 GB, free: 190.5 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006309/1.321, allocations: 58.02 kB / 0.8994 GB, free: 190.4 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003045/1.324, allocations: 399.9 kB / 0.8997 GB, free: 190.4 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004915/1.325, allocations: 168.1 kB / 0.8999 GB, free: 190.3 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000299/1.325, allocations: 97.81 kB / 0.9 GB, free: 190.3 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.002586/1.328, allocations: 1.681 MB / 0.9016 GB, free: 189.7 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.31e-07/1.328, allocations: 1.781 kB / 0.9016 GB, free: 189.7 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0033/1.331, allocations: 0.9724 MB / 0.9026 GB, free: 189.5 MB / 0.67 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.002554/1.334, allocations: 1.03 MB / 0.9036 GB, free: 189.2 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01107/1.345, allocations: 4.579 MB / 0.9081 GB, free: 187.9 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 6.592e-06/1.345, allocations: 0.7812 kB / 0.9081 GB, free: 187.9 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.005705/1.351, allocations: 2.603 MB / 0.9106 GB, free: 186.9 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003142/1.354, allocations: 0.6092 MB / 0.9112 GB, free: 186.7 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01441/1.368, allocations: 8.904 MB / 0.9199 GB, free: 182.2 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001915/1.37, allocations: 2.304 MB / 0.9221 GB, free: 181.3 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0019/1.372, allocations: 298.5 kB / 0.9224 GB, free: 181.2 MB / 0.67 GB Notification: Performance of SimCode: time 1.122e-06/1.372, allocations: 0 / 0.9224 GB, free: 181.2 MB / 0.67 GB Notification: Performance of Templates: time 0.07551/1.447, allocations: 79.09 MB / 0.9997 GB, free: 108.7 MB / 0.67 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++14 -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