Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorStepResponse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorStepResponse,fileNamePrefix="Buildings_maint_7_0_x_Buildings_HeatTransfer_Examples_ConductorStepResponse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorStepResponse,fileNamePrefix="Buildings_maint_7_0_x_Buildings_HeatTransfer_Examples_ConductorStepResponse",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.307/1.307, allocations: 249.4 MB / 256.7 MB, free: 7.008 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00112/0.00112, allocations: 169.2 kB / 316 MB, free: 3.57 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.274/1.274, allocations: 205.2 MB / 0.5667 GB, free: 15.61 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008582/0.0008582, allocations: 96.06 kB / 0.671 GB, free: 4.746 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3736/0.3745, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1852/0.5597, allocations: 106.3 MB / 0.8846 GB, free: 12.58 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5561/1.116, allocations: 145.5 MB / 1.027 GB, free: 9.246 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002308/1.116, allocations: 80.83 kB / 1.027 GB, free: 9.207 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 108 * Number of variables: 108 Notification: Performance of Generate backend data structure: time 0.1187/1.235, allocations: 38.64 MB / 1.065 GB, free: 9.727 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/1.235, allocations: 8 kB / 1.065 GB, free: 9.719 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002938/1.235, allocations: 169.9 kB / 1.065 GB, free: 9.551 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003546/1.239, allocations: 1.864 MB / 1.067 GB, free: 8.059 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.836e-05/1.239, allocations: 12 kB / 1.067 GB, free: 8.047 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.306e-05/1.239, allocations: 51.91 kB / 1.067 GB, free: 7.996 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004768/1.239, allocations: 275.6 kB / 1.067 GB, free: 7.816 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006062/1.24, allocations: 467.6 kB / 1.067 GB, free: 7.426 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.444e-05/1.24, allocations: 4 kB / 1.067 GB, free: 7.422 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.451e-05/1.24, allocations: 0 / 1.067 GB, free: 7.422 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.477e-05/1.24, allocations: 15.94 kB / 1.067 GB, free: 7.406 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003352/1.243, allocations: 3.066 MB / 1.07 GB, free: 4.586 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005481/1.244, allocations: 362.4 kB / 1.071 GB, free: 4.309 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002157/1.244, allocations: 168.7 kB / 1.071 GB, free: 4.191 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.096e-05/1.244, allocations: 4 kB / 1.071 GB, free: 4.188 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.727e-05/1.244, allocations: 35.28 kB / 1.071 GB, free: 4.148 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=28): time 2.235e-06/1.244, allocations: 0 / 1.071 GB, free: 4.148 MB / 0.6823 GB Notification: Performance of matching and sorting (n=28): time 0.0009454/1.245, allocations: 0.5325 MB / 1.071 GB, free: 3.684 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.656e-05/1.245, allocations: 55.41 kB / 1.071 GB, free: 3.617 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00165/1.247, allocations: 1.456 MB / 1.073 GB, free: 2.535 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.463e-05/1.247, allocations: 25.7 kB / 1.073 GB, free: 2.504 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002331/1.247, allocations: 364.3 kB / 1.073 GB, free: 2.211 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001329/1.247, allocations: 96.84 kB / 1.073 GB, free: 2.125 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.546e-05/1.247, allocations: 4 kB / 1.073 GB, free: 2.121 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001333/1.247, allocations: 351.3 kB / 1.074 GB, free: 1.789 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000374/1.248, allocations: 277.2 kB / 1.074 GB, free: 1.59 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008246/1.249, allocations: 0.8827 MB / 1.075 GB, free: 0.5117 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005199/1.249, allocations: 422 kB / 1.075 GB, free: 188 kB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.847e-06/1.249, allocations: 8 kB / 1.075 GB, free: 180 kB / 0.6823 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.001755/1.251, allocations: 1.217 MB / 1.076 GB, free: 15.12 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.539e-05/1.251, allocations: 8 kB / 1.076 GB, free: 15.11 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.43e-05/1.251, allocations: 20 kB / 1.076 GB, free: 15.09 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005812/1.252, allocations: 198.1 kB / 1.077 GB, free: 14.91 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006339/1.252, allocations: 224.8 kB / 1.077 GB, free: 14.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003712/1.256, allocations: 4.519 MB / 1.081 GB, free: 10.16 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001613/1.258, allocations: 142.4 kB / 1.081 GB, free: 10.02 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.319e-05/1.258, allocations: 61.5 kB / 1.081 GB, free: 9.969 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 99 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (118): * Single equations (assignments): 115 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001897/1.258, allocations: 154.7 kB / 1.082 GB, free: 9.816 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001935/1.258, allocations: 130.2 kB / 1.082 GB, free: 9.688 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003826/1.259, allocations: 120.5 kB / 1.082 GB, free: 9.602 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.109e-06/1.259, allocations: 4 kB / 1.082 GB, free: 9.598 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.122e-05/1.259, allocations: 4 kB / 1.082 GB, free: 9.594 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/1.259, allocations: 0 / 1.082 GB, free: 9.594 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001178/1.26, allocations: 0.877 MB / 1.083 GB, free: 8.895 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/1.26, allocations: 4 kB / 1.083 GB, free: 8.891 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002096/1.26, allocations: 31.97 kB / 1.083 GB, free: 8.859 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004934/1.261, allocations: 171.9 kB / 1.083 GB, free: 8.711 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.321e-05/1.261, allocations: 7.984 kB / 1.083 GB, free: 8.703 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003525/1.264, allocations: 4.453 MB / 1.087 GB, free: 4.23 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/1.264, allocations: 0 / 1.087 GB, free: 4.23 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001068/1.265, allocations: 0.8093 MB / 1.088 GB, free: 3.543 MB / 0.698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00129/1.266, allocations: 1.397 MB / 1.089 GB, free: 2.332 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000975/1.267, allocations: 0.941 MB / 1.09 GB, free: 1.32 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001664/1.268, allocations: 7.984 kB / 1.09 GB, free: 1.312 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006795/1.268, allocations: 35.86 kB / 1.09 GB, free: 1.277 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.655e-05/1.268, allocations: 11.86 kB / 1.09 GB, free: 1.27 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.854e-05/1.268, allocations: 4 kB / 1.09 GB, free: 1.266 MB / 0.698 GB Notification: Performance of sort global known variables: time 0.001644/1.27, allocations: 1.07 MB / 1.091 GB, free: 0.5 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002054/1.272, allocations: 358.1 kB / 1.092 GB, free: 160 kB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (conMul.lay[2].T[1],con2.T[1],con2.T[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003627/1.273, allocations: 193 kB / 1.092 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001418/1.274, allocations: 0.9602 MB / 1.093 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/1.274, allocations: 2.688 kB / 1.093 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0006708/1.275, allocations: 0.4987 MB / 1.093 GB, free: 14.63 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001151/1.276, allocations: 292.1 kB / 1.094 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003424/1.279, allocations: 1.832 MB / 1.095 GB, free: 12.73 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001139/1.28, allocations: 1.398 MB / 1.097 GB, free: 11.36 MB / 0.7136 GB Notification: Performance of SimCode: time 7.41e-07/1.28, allocations: 0 / 1.097 GB, free: 11.36 MB / 0.7136 GB (rm -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorStepResponse.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorStepResponse.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorStepResponse.pipe >> ../files/Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorStepResponse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_HeatTransfer_Examples_ConductorStepResponse_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_HeatTransfer_Examples_ConductorStepResponse.fmu > Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorStepResponse.pipe 2>&1)