Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.Outside_CpLowRise.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.Fluid.Sources.Examples.Outside_CpLowRise,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.Outside_CpLowRise") translateModel(BuildSysPro.IBPSA.Fluid.Sources.Examples.Outside_CpLowRise,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.Outside_CpLowRise") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001599/0.001598, allocations: 103.2 kB / 15.98 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.001889/0.001889, allocations: 199 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.419/1.419, allocations: 222.9 MB / 240.6 MB, free: 15.4 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.8768/0.8768, allocations: 143.1 MB / 433.8 MB, free: 12.25 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002172/0.002172, allocations: 63.89 kB / 0.5143 GB, free: 15.54 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4828/0.485, allocations: 82.03 MB / 0.5944 GB, free: 16.4 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sources.Examples.Outside_CpLowRise): time 0.5981/1.083, allocations: 164.5 MB / 0.7551 GB, free: 1.812 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02355/1.107, allocations: 16.7 MB / 0.7714 GB, free: 1.594 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001967/1.109, allocations: 28.41 kB / 0.7714 GB, free: 1.594 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001617/1.11, allocations: 438.9 kB / 0.7719 GB, free: 1.586 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005264/1.116, allocations: 1.356 MB / 0.7732 GB, free: 1.527 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003562/1.119, allocations: 1.148 MB / 0.7743 GB, free: 1.504 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002951/1.122, allocations: 2.363 MB / 0.7766 GB, free: 1.492 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002592/1.125, allocations: 1.902 MB / 0.7785 GB, free: 1.25 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005485/1.13, allocations: 1.27 MB / 0.7797 GB, free: 1.223 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001639/1.132, allocations: 0.9233 MB / 0.7806 GB, free: 1.223 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003353/1.132, allocations: 195.4 kB / 0.7808 GB, free: 1.223 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003312/1.136, allocations: 1.421 MB / 0.7822 GB, free: 1.203 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005165/1.136, allocations: 0.5266 MB / 0.7827 GB, free: 1.203 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001158/1.137, allocations: 0.9494 MB / 0.7836 GB, free: 1.008 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003241/1.141, allocations: 2.322 MB / 0.7859 GB, free: 0.8398 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/1.141, allocations: 3.094 kB / 0.7859 GB, free: 0.8398 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.994e-06/1.141, allocations: 0 / 0.7859 GB, free: 0.8398 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.562e-05/1.141, allocations: 0 / 0.7859 GB, free: 0.8398 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 421 * Number of variables: 421 Notification: Performance of Generate backend data structure: time 0.003905/1.145, allocations: 2.153 MB / 0.788 GB, free: 15.81 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.781e-05/1.145, allocations: 8.469 kB / 0.788 GB, free: 15.81 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003627/1.148, allocations: 0.5028 MB / 0.7885 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001815/1.15, allocations: 1.044 MB / 0.7895 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.956e-05/1.15, allocations: 122.4 kB / 0.7896 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002256/1.151, allocations: 161.3 kB / 0.7898 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003155/1.154, allocations: 1.776 MB / 0.7915 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.45e-05/1.154, allocations: 3.406 kB / 0.7915 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001524/1.154, allocations: 72.25 kB / 0.7916 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.988e-05/1.154, allocations: 39.75 kB / 0.7916 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003008/1.157, allocations: 1.829 MB / 0.7934 GB, free: 15.14 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.008211/1.165, allocations: 5.046 MB / 0.7983 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002904/1.168, allocations: 1.674 MB / 0.8 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001203/1.169, allocations: 0.6191 MB / 0.8006 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001067/1.17, allocations: 0.8091 MB / 0.8014 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001925/1.172, allocations: 0.8188 MB / 0.8022 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=137): time 4.539e-06/1.172, allocations: 0 / 0.8022 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of matching and sorting (n=137): time 0.006206/1.179, allocations: 2.434 MB / 0.8046 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001109/1.179, allocations: 196.7 kB / 0.8047 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001364/1.18, allocations: 0.7894 MB / 0.8055 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001958/1.18, allocations: 55.98 kB / 0.8056 GB, free: 10.9 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000601/1.181, allocations: 0.6183 MB / 0.8062 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.00046/1.181, allocations: 463.4 kB / 0.8066 GB, free: 10.31 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000462/1.182, allocations: 242.6 kB / 0.8068 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001401/1.182, allocations: 350 kB / 0.8072 GB, free: 9.988 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009527/1.183, allocations: 468.6 kB / 0.8076 GB, free: 9.984 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001142/1.184, allocations: 0.6002 MB / 0.8082 GB, free: 9.875 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002072/1.186, allocations: 1.063 MB / 0.8092 GB, free: 9.41 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.382e-06/1.186, allocations: 0 / 0.8092 GB, free: 9.41 MB / 0.5919 GB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003581/1.19, allocations: 1.469 MB / 0.8107 GB, free: 8.836 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.605e-05/1.19, allocations: 9.219 kB / 0.8107 GB, free: 8.832 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.808e-06/1.19, allocations: 4.188 kB / 0.8107 GB, free: 8.832 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001007/1.191, allocations: 202 kB / 0.8109 GB, free: 8.762 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001498/1.192, allocations: 320.8 kB / 0.8112 GB, free: 8.754 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006083/1.198, allocations: 7.28 MB / 0.8183 GB, free: 1.566 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001915/1.2, allocations: 152.6 kB / 0.8184 GB, free: 1.488 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003414/1.201, allocations: 59.52 kB / 0.8185 GB, free: 1.473 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 8 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (144): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001231/1.202, allocations: 358.4 kB / 0.8188 GB, free: 1.238 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000546/1.203, allocations: 120 kB / 0.819 GB, free: 1.18 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004392/1.207, allocations: 1.751 MB / 0.8207 GB, free: 484 kB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.263e-05/1.207, allocations: 13.44 kB / 0.8207 GB, free: 484 kB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.348e-05/1.207, allocations: 2.906 kB / 0.8207 GB, free: 484 kB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.867e-05/1.207, allocations: 12.77 kB / 0.8207 GB, free: 480 kB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006863/1.214, allocations: 3.251 MB / 0.8239 GB, free: 14.67 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.085e-06/1.214, allocations: 3.984 kB / 0.8239 GB, free: 14.67 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00151/1.215, allocations: 309.4 kB / 0.8242 GB, free: 14.61 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000866/1.216, allocations: 181.6 kB / 0.8243 GB, free: 14.5 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001519/1.217, allocations: 38.69 kB / 0.8244 GB, free: 14.47 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006513/1.223, allocations: 7.328 MB / 0.8315 GB, free: 7.035 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/1.223, allocations: 2.562 kB / 0.8315 GB, free: 7.035 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004161/1.227, allocations: 1.619 MB / 0.8331 GB, free: 6.141 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009423/1.228, allocations: 381.4 kB / 0.8335 GB, free: 5.824 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003393/1.229, allocations: 26.28 kB / 0.8335 GB, free: 5.805 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001452/1.23, allocations: 115.6 kB / 0.8336 GB, free: 5.746 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002815/1.23, allocations: 99.8 kB / 0.8337 GB, free: 5.691 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001989/1.231, allocations: 72.98 kB / 0.8338 GB, free: 5.66 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001013/1.232, allocations: 0.5468 MB / 0.8343 GB, free: 5.355 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.6e-07/1.232, allocations: 0 / 0.8343 GB, free: 5.355 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.002095/1.234, allocations: 0.5583 MB / 0.8349 GB, free: 4.871 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (140): * Single equations (assignments): 133 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002145/1.236, allocations: 0.7079 MB / 0.8356 GB, free: 4.41 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.005035/1.241, allocations: 2.197 MB / 0.8377 GB, free: 2.176 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 6.653e-06/1.241, allocations: 4.562 kB / 0.8377 GB, free: 2.172 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001961/1.243, allocations: 1.257 MB / 0.8389 GB, free: 0.8789 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00249/1.245, allocations: 0.5143 MB / 0.8394 GB, free: 412 kB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007073/1.252, allocations: 3.574 MB / 0.8429 GB, free: 12.8 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001136/1.254, allocations: 1.276 MB / 0.8442 GB, free: 11.5 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006427/1.254, allocations: 163.3 kB / 0.8443 GB, free: 11.34 MB / 0.6231 GB Notification: Performance of SimCode: time 1.102e-06/1.254, allocations: 0 / 0.8443 GB, free: 11.34 MB / 0.6231 GB Notification: Performance of Templates: time 0.06769/1.322, allocations: 54.92 MB / 0.898 GB, free: 4.496 MB / 0.67 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.Outside_CpLowRise.makefile make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.Outside_CpLowRise.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.Fluid.Sources.Examples.Outside_CpLowRiseCalcHelperMain.o OMCppBuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.Outside_CpLowRiseCalcHelperMain.cpp In file included from OMCppBuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.Outside_CpLowRiseCalcHelperMain.cpp:28: ./OMCppBuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.Outside_CpLowRiseFunctions.cpp:8:10: fatal error: 'getTimeSpan.c' file not found #include ^~~~~~~~~~~~~~~ 1 error generated. make: *** [: OMCppBuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.Outside_CpLowRiseCalcHelperMain.o] Error 1