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.000922/0.0009222, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00101/0.00101, allocations: 183.7 kB / 16.92 MB, free: 6.77 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.435/1.435, allocations: 223.3 MB / 241 MB, free: 5.254 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 1.049/1.049, allocations: 143.2 MB / 435.3 MB, free: 13.62 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003163/0.0003163, allocations: 8 kB / 0.517 GB, free: 11.14 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1655/0.1658, allocations: 83.4 MB / 0.5985 GB, free: 7.707 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement): time 0.4961/0.662, allocations: 155.5 MB / 0.7504 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.06505/0.7271, allocations: 26.2 MB / 0.776 GB, free: 5.977 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004875/0.732, allocations: 63.62 kB / 0.776 GB, free: 5.914 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.003968/0.736, allocations: 0.879 MB / 0.7769 GB, free: 5.031 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.008715/0.7448, allocations: 1.449 MB / 0.7783 GB, free: 3.582 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00783/0.7526, allocations: 1.459 MB / 0.7797 GB, free: 2.141 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0112/0.7638, allocations: 4.765 MB / 0.7844 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009061/0.773, allocations: 3.36 MB / 0.7877 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004469/0.7775, allocations: 1.306 MB / 0.7889 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00497/0.7825, allocations: 1.812 MB / 0.7907 GB, free: 6.816 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.001137/0.7837, allocations: 96 kB / 0.7908 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004078/0.7878, allocations: 0.7022 MB / 0.7915 GB, free: 6.02 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.001745/0.7895, allocations: 0.6922 MB / 0.7922 GB, free: 5.324 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.004078/0.7937, allocations: 1.477 MB / 0.7936 GB, free: 3.832 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.009344/0.803, allocations: 4.407 MB / 0.7979 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/0.8031, allocations: 0 / 0.7979 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of FrontEnd: time 7.284e-06/0.8031, allocations: 8 kB / 0.7979 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0002028/0.8033, allocations: 0 / 0.7979 GB, free: 15.41 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.01572/0.8191, allocations: 3.662 MB / 0.8015 GB, free: 11.68 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 6.863e-05/0.8192, allocations: 11.97 kB / 0.8015 GB, free: 11.67 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01905/0.8383, allocations: 2.871 MB / 0.8043 GB, free: 8.789 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005421/0.8437, allocations: 2.192 MB / 0.8065 GB, free: 6.547 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002492/0.844, allocations: 234.2 kB / 0.8067 GB, free: 6.316 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001204/0.8452, allocations: 304 kB / 0.807 GB, free: 6.02 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01456/0.8598, allocations: 5.006 MB / 0.8119 GB, free: 0.9297 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000117/0.8599, allocations: 0 / 0.8119 GB, free: 0.9297 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009172/0.8609, allocations: 128 kB / 0.812 GB, free: 0.8047 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.636e-05/0.861, allocations: 76 kB / 0.812 GB, free: 0.7305 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01617/0.8771, allocations: 6.205 MB / 0.8181 GB, free: 10.51 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.03042/0.9076, allocations: 13.68 MB / 0.8315 GB, free: 12.4 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01114/0.9187, allocations: 4.356 MB / 0.8357 GB, free: 8.043 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005637/0.9244, allocations: 2.315 MB / 0.838 GB, free: 5.723 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001075/0.9255, allocations: 0.6735 MB / 0.8386 GB, free: 4.918 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006047/0.9316, allocations: 2.378 MB / 0.841 GB, free: 2.504 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=257): time 5.67e-06/0.9316, allocations: 0 / 0.841 GB, free: 2.504 MB / 0.6544 GB Notification: Performance of matching and sorting (n=257): time 0.01918/0.9508, allocations: 6.974 MB / 0.8478 GB, free: 11.41 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000123/0.951, allocations: 206 kB / 0.848 GB, free: 11.16 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004021/0.955, allocations: 2.303 MB / 0.8502 GB, free: 8.824 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0005022/0.9555, allocations: 73.7 kB / 0.8503 GB, free: 8.746 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001378/0.9569, allocations: 1.301 MB / 0.8516 GB, free: 7.426 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.001183/0.9581, allocations: 0.8509 MB / 0.8524 GB, free: 6.562 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005495/0.9587, allocations: 182.3 kB / 0.8526 GB, free: 6.379 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001122/0.9588, allocations: 309.1 kB / 0.8529 GB, free: 6.074 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004863/0.9637, allocations: 1.905 MB / 0.8547 GB, free: 4.164 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005273/0.969, allocations: 2.19 MB / 0.8569 GB, free: 1.898 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3841/1.353, allocations: 4.071 MB / 0.8608 GB, free: 202.2 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.675e-05/1.353, allocations: 0 / 0.8608 GB, free: 202.2 MB / 0.67 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01126/1.364, allocations: 4.718 MB / 0.8654 GB, free: 202 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.352e-05/1.364, allocations: 9 kB / 0.8655 GB, free: 202 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.432e-05/1.364, allocations: 3.031 kB / 0.8655 GB, free: 202 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005929/1.365, allocations: 235 kB / 0.8657 GB, free: 202 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00365/1.369, allocations: 0.77 MB / 0.8664 GB, free: 202 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003543/1.372, allocations: 3.1 MB / 0.8695 GB, free: 200.7 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003748/1.376, allocations: 0.5449 MB / 0.87 GB, free: 200.7 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003441/1.376, allocations: 107 kB / 0.8701 GB, free: 200.7 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.001818/1.378, allocations: 0.898 MB / 0.871 GB, free: 200.5 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005392/1.379, allocations: 255.5 kB / 0.8712 GB, free: 200.5 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01127/1.39, allocations: 5.283 MB / 0.8764 GB, free: 198.8 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.92e-05/1.39, allocations: 29.09 kB / 0.8764 GB, free: 198.8 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.023e-05/1.39, allocations: 7.469 kB / 0.8764 GB, free: 198.8 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.514e-05/1.39, allocations: 13.08 kB / 0.8764 GB, free: 198.8 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01597/1.406, allocations: 8.819 MB / 0.885 GB, free: 195.7 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.776e-06/1.406, allocations: 0 / 0.885 GB, free: 195.7 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003687/1.41, allocations: 0.7272 MB / 0.8857 GB, free: 195.7 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000848/1.411, allocations: 267.6 kB / 0.886 GB, free: 195.6 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002722/1.411, allocations: 73.41 kB / 0.8861 GB, free: 195.5 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004136/1.415, allocations: 4.797 MB / 0.8908 GB, free: 191.5 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/1.415, allocations: 0.5625 kB / 0.8908 GB, free: 191.5 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01801/1.433, allocations: 7.553 MB / 0.8981 GB, free: 188.9 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0024/1.436, allocations: 0.8181 MB / 0.8989 GB, free: 188.5 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007982/1.436, allocations: 53.3 kB / 0.899 GB, free: 188.5 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003509/1.44, allocations: 417.8 kB / 0.8994 GB, free: 188.4 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006997/1.441, allocations: 164.7 kB / 0.8995 GB, free: 188.4 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000486/1.441, allocations: 102.4 kB / 0.8996 GB, free: 188.4 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.003527/1.445, allocations: 1.682 MB / 0.9013 GB, free: 187.8 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.51e-07/1.445, allocations: 0 / 0.9013 GB, free: 187.8 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0042/1.449, allocations: 0.9681 MB / 0.9022 GB, free: 187.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.003169/1.452, allocations: 1.025 MB / 0.9032 GB, free: 187.2 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0134/1.466, allocations: 4.59 MB / 0.9077 GB, free: 185.9 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 7.574e-06/1.466, allocations: 1.438 kB / 0.9077 GB, free: 185.9 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.007509/1.473, allocations: 2.614 MB / 0.9103 GB, free: 184.9 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005367/1.479, allocations: 0.6089 MB / 0.9109 GB, free: 184.7 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02037/1.499, allocations: 9.01 MB / 0.9197 GB, free: 180.2 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003619/1.503, allocations: 2.301 MB / 0.9219 GB, free: 179.2 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002701/1.505, allocations: 299.5 kB / 0.9222 GB, free: 179.2 MB / 0.67 GB Notification: Performance of SimCode: time 1.042e-06/1.505, allocations: 0 / 0.9222 GB, free: 179.2 MB / 0.67 GB Notification: Performance of Templates: time 0.08617/1.591, allocations: 78.62 MB / 0.999 GB, free: 109.5 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