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.001205/0.001205, allocations: 106.6 kB / 15.99 MB, free: 6.348 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.00119/0.00119, allocations: 191.3 kB / 16.91 MB, free: 6.188 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.295/1.295, allocations: 222.9 MB / 240.6 MB, free: 13.71 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.8333/0.8333, allocations: 143.1 MB / 433.8 MB, free: 12.18 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001351/0.001352, allocations: 63.91 kB / 0.5143 GB, free: 15.49 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4044/0.4058, allocations: 82.04 MB / 0.5944 GB, free: 16.37 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement): time 0.1865/0.5923, allocations: 157.9 MB / 0.7486 GB, free: 2.004 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.3911/0.9835, allocations: 26.3 MB / 0.7743 GB, free: 1.523 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003262/0.9868, allocations: 66.72 kB / 0.7744 GB, free: 1.523 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002191/0.9891, allocations: 0.8843 MB / 0.7752 GB, free: 1.508 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005139/0.9942, allocations: 1.469 MB / 0.7767 GB, free: 1.461 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004881/0.9991, allocations: 1.479 MB / 0.7781 GB, free: 1.426 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.006371/1.006, allocations: 4.584 MB / 0.7826 GB, free: 1.406 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004996/1.011, allocations: 4.1 MB / 0.7866 GB, free: 0.9883 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004079/1.015, allocations: 1.94 MB / 0.7885 GB, free: 0.9805 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003928/1.019, allocations: 2.373 MB / 0.7908 GB, free: 0.7188 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.001021/1.02, allocations: 425.8 kB / 0.7912 GB, free: 0.7188 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002747/1.022, allocations: 1.007 MB / 0.7922 GB, free: 0.7031 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001043/1.023, allocations: 1.113 MB / 0.7933 GB, free: 0.5625 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002774/1.026, allocations: 1.933 MB / 0.7952 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.005323/1.032, allocations: 4.561 MB / 0.7996 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/1.032, allocations: 0 / 0.7996 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.164e-06/1.032, allocations: 0 / 0.7996 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001842/1.032, allocations: 4 kB / 0.7996 GB, free: 15.71 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: 790 * Number of variables: 790 Notification: Performance of Generate backend data structure: time 0.0114/1.043, allocations: 4.302 MB / 0.8038 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.68e-05/1.043, allocations: 14.22 kB / 0.8038 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01361/1.057, allocations: 2.746 MB / 0.8065 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005991/1.063, allocations: 2.198 MB / 0.8087 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001875/1.063, allocations: 234.9 kB / 0.8089 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001302/1.064, allocations: 298 kB / 0.8092 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01524/1.08, allocations: 4.967 MB / 0.814 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.121e-05/1.08, allocations: 0 / 0.814 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005095/1.08, allocations: 123.3 kB / 0.8141 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.056e-05/1.08, allocations: 74.47 kB / 0.8142 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01763/1.098, allocations: 6.109 MB / 0.8202 GB, free: 7.52 MB / 0.5919 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.03076/1.129, allocations: 13.64 MB / 0.8335 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009764/1.139, allocations: 4.353 MB / 0.8377 GB, free: 6.047 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005153/1.144, allocations: 2.312 MB / 0.84 GB, free: 3.727 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001006/1.145, allocations: 0.6768 MB / 0.8407 GB, free: 2.938 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00592/1.151, allocations: 2.365 MB / 0.843 GB, free: 0.5391 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=257): time 5.711e-06/1.151, allocations: 4 kB / 0.843 GB, free: 0.5352 MB / 0.6075 GB Notification: Performance of matching and sorting (n=257): time 0.01893/1.17, allocations: 6.935 MB / 0.8497 GB, free: 9.488 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001332/1.17, allocations: 210 kB / 0.8499 GB, free: 9.238 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003904/1.174, allocations: 2.307 MB / 0.8522 GB, free: 6.898 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0007139/1.175, allocations: 69.7 kB / 0.8523 GB, free: 6.824 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.001335/1.176, allocations: 1.301 MB / 0.8535 GB, free: 5.508 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.001327/1.177, allocations: 0.8506 MB / 0.8544 GB, free: 4.664 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001687/1.179, allocations: 484.2 kB / 0.8548 GB, free: 4.184 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001108/1.179, allocations: 305.1 kB / 0.8551 GB, free: 3.883 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004696/1.184, allocations: 1.893 MB / 0.857 GB, free: 1.984 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005361/1.189, allocations: 2.192 MB / 0.8591 GB, free: 15.72 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01026/1.199, allocations: 4.059 MB / 0.8631 GB, free: 11.59 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.652e-05/1.2, allocations: 4 kB / 0.8631 GB, free: 11.58 MB / 0.6387 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.0135/1.213, allocations: 4.704 MB / 0.8677 GB, free: 6.855 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.376e-05/1.213, allocations: 4 kB / 0.8677 GB, free: 6.852 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.72e-05/1.213, allocations: 4 kB / 0.8677 GB, free: 6.848 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007116/1.214, allocations: 239.1 kB / 0.8679 GB, free: 6.613 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004114/1.218, allocations: 0.7778 MB / 0.8687 GB, free: 5.863 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004314/1.222, allocations: 3.372 MB / 0.872 GB, free: 2.367 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004188/1.227, allocations: 0.5324 MB / 0.8725 GB, free: 1.832 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007641/1.227, allocations: 103.9 kB / 0.8726 GB, free: 1.73 MB / 0.6387 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.002675/1.23, allocations: 0.8904 MB / 0.8735 GB, free: 0.8555 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001107/1.231, allocations: 256.8 kB / 0.8737 GB, free: 0.6016 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01348/1.245, allocations: 5.264 MB / 0.8788 GB, free: 11.28 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.586e-05/1.245, allocations: 28 kB / 0.8789 GB, free: 11.25 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.446e-05/1.245, allocations: 4 kB / 0.8789 GB, free: 11.25 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.791e-05/1.245, allocations: 11.95 kB / 0.8789 GB, free: 11.24 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02064/1.265, allocations: 8.835 MB / 0.8875 GB, free: 2.352 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-05/1.265, allocations: 0 / 0.8875 GB, free: 2.352 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003981/1.269, allocations: 0.7174 MB / 0.8882 GB, free: 1.656 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008813/1.27, allocations: 269.4 kB / 0.8885 GB, free: 1.387 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005411/1.271, allocations: 71.94 kB / 0.8885 GB, free: 1.316 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005112/1.276, allocations: 5.227 MB / 0.8936 GB, free: 11.8 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/1.276, allocations: 3.938 kB / 0.8936 GB, free: 11.8 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01928/1.295, allocations: 7.53 MB / 0.901 GB, free: 4.191 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002443/1.298, allocations: 0.7704 MB / 0.9017 GB, free: 3.398 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001267/1.299, allocations: 55.84 kB / 0.9018 GB, free: 3.344 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003807/1.303, allocations: 403.3 kB / 0.9022 GB, free: 2.949 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007298/1.304, allocations: 165.9 kB / 0.9023 GB, free: 2.785 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000587/1.304, allocations: 99.92 kB / 0.9024 GB, free: 2.688 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.003417/1.308, allocations: 1.68 MB / 0.9041 GB, free: 0.9922 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.8e-07/1.308, allocations: 0 / 0.9041 GB, free: 0.9922 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.004441/1.312, allocations: 0.9699 MB / 0.905 GB, free: 20 kB / 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.003326/1.316, allocations: 1.033 MB / 0.906 GB, free: 15.43 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.01982/1.335, allocations: 7.76 MB / 0.9136 GB, free: 7.68 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 7.013e-06/1.335, allocations: 0 / 0.9136 GB, free: 7.68 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0074/1.343, allocations: 2.606 MB / 0.9162 GB, free: 5.09 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004767/1.348, allocations: 0.6656 MB / 0.9168 GB, free: 4.473 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01726/1.365, allocations: 8.91 MB / 0.9255 GB, free: 11.53 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00282/1.368, allocations: 2.299 MB / 0.9278 GB, free: 9.207 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003594/1.371, allocations: 291.2 kB / 0.928 GB, free: 8.922 MB / 0.7012 GB Notification: Performance of SimCode: time 1.763e-06/1.371, allocations: 0 / 0.928 GB, free: 8.922 MB / 0.7012 GB Notification: Performance of Templates: time 0.1158/1.487, allocations: 79.11 MB / 1.005 GB, free: 9.879 MB / 0.7794 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