Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Examples.ConductorStepResponse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorStepResponse,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Examples_ConductorStepResponse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorStepResponse,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.088/2.088, allocations: 387.2 MB / 394.5 MB, free: 13.68 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001101/0.001101, allocations: 177.3 kB / 487 MB, free: 5.363 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.382/1.382, allocations: 221.3 MB / 0.7819 GB, free: 1.371 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000947/0.0009473, allocations: 84.7 kB / 0.9213 GB, free: 2.621 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.5911/0.592, allocations: 148.4 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2515/0.8436, allocations: 142.3 MB / 1.205 GB, free: 26.15 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6881/1.532, allocations: 162 MB / 1.363 GB, free: 12.75 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002332/1.532, allocations: 74.5 kB / 1.364 GB, free: 12.73 MB / 0.8073 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.1218/1.654, allocations: 39.02 MB / 1.402 GB, free: 13.02 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.493e-05/1.654, allocations: 9 kB / 1.402 GB, free: 13.01 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000329/1.654, allocations: 165.9 kB / 1.402 GB, free: 12.84 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00393/1.658, allocations: 1.861 MB / 1.404 GB, free: 11.35 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.954e-05/1.658, allocations: 16 kB / 1.404 GB, free: 11.34 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.29e-05/1.658, allocations: 44 kB / 1.404 GB, free: 11.29 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004843/1.659, allocations: 285.8 kB / 1.404 GB, free: 11.11 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006671/1.659, allocations: 470.6 kB / 1.404 GB, free: 10.71 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.478e-05/1.659, allocations: 0 / 1.404 GB, free: 10.71 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.456e-05/1.66, allocations: 4 kB / 1.404 GB, free: 10.7 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.847e-05/1.66, allocations: 15.91 kB / 1.404 GB, free: 10.69 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003429/1.663, allocations: 3.067 MB / 1.407 GB, free: 7.863 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000568/1.664, allocations: 356.5 kB / 1.408 GB, free: 7.59 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002148/1.664, allocations: 167.5 kB / 1.408 GB, free: 7.473 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.9e-05/1.664, allocations: 0 / 1.408 GB, free: 7.473 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.149e-05/1.664, allocations: 38.91 kB / 1.408 GB, free: 7.43 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=28): time 2.594e-06/1.664, allocations: 3.984 kB / 1.408 GB, free: 7.426 MB / 0.8386 GB Notification: Performance of matching and sorting (n=28): time 0.00095/1.665, allocations: 0.5395 MB / 1.409 GB, free: 6.957 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.985e-05/1.665, allocations: 55.41 kB / 1.409 GB, free: 6.891 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001799/1.667, allocations: 1.462 MB / 1.41 GB, free: 5.805 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.605e-05/1.667, allocations: 25.7 kB / 1.41 GB, free: 5.773 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002628/1.667, allocations: 366.5 kB / 1.41 GB, free: 5.477 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001285/1.667, allocations: 92.94 kB / 1.41 GB, free: 5.395 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.702e-05/1.667, allocations: 3.938 kB / 1.41 GB, free: 5.391 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001282/1.667, allocations: 355.1 kB / 1.411 GB, free: 5.055 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003714/1.668, allocations: 277.7 kB / 1.411 GB, free: 4.859 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007906/1.668, allocations: 0.8713 MB / 1.412 GB, free: 3.789 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005337/1.669, allocations: 426.8 kB / 1.412 GB, free: 3.457 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.845e-06/1.669, allocations: 8 kB / 1.412 GB, free: 3.449 MB / 0.8386 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.001862/1.671, allocations: 1.213 MB / 1.414 GB, free: 2.398 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/1.671, allocations: 4 kB / 1.414 GB, free: 2.395 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.497e-05/1.671, allocations: 24 kB / 1.414 GB, free: 2.371 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005923/1.672, allocations: 203.5 kB / 1.414 GB, free: 2.191 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006672/1.672, allocations: 217.9 kB / 1.414 GB, free: 1.984 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00401/1.676, allocations: 4.509 MB / 1.418 GB, free: 13.45 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001427/1.678, allocations: 138.6 kB / 1.418 GB, free: 13.32 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.855e-05/1.678, allocations: 58.81 kB / 1.419 GB, free: 13.27 MB / 0.8542 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.0001719/1.678, allocations: 159.7 kB / 1.419 GB, free: 13.11 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001958/1.678, allocations: 134.2 kB / 1.419 GB, free: 12.98 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000299/1.678, allocations: 120.3 kB / 1.419 GB, free: 12.89 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.129e-06/1.678, allocations: 4 kB / 1.419 GB, free: 12.89 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.142e-05/1.678, allocations: 0 / 1.419 GB, free: 12.89 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/1.678, allocations: 0 / 1.419 GB, free: 12.89 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001067/1.68, allocations: 0.8759 MB / 1.42 GB, free: 12.19 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-06/1.68, allocations: 4 kB / 1.42 GB, free: 12.18 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002279/1.68, allocations: 42.92 kB / 1.42 GB, free: 12.14 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000497/1.68, allocations: 166.4 kB / 1.42 GB, free: 12 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.388e-05/1.68, allocations: 4 kB / 1.42 GB, free: 12 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003821/1.684, allocations: 4.463 MB / 1.424 GB, free: 7.508 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/1.684, allocations: 0 / 1.424 GB, free: 7.508 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001221/1.685, allocations: 0.8231 MB / 1.425 GB, free: 6.809 MB / 0.8542 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001531/1.687, allocations: 1.391 MB / 1.427 GB, free: 5.605 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009699/1.688, allocations: 0.9421 MB / 1.427 GB, free: 4.586 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001673/1.688, allocations: 7.938 kB / 1.427 GB, free: 4.582 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006726/1.689, allocations: 27.95 kB / 1.427 GB, free: 4.555 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.85e-05/1.689, allocations: 19.88 kB / 1.427 GB, free: 4.535 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.742e-05/1.689, allocations: 7.562 kB / 1.427 GB, free: 4.531 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.001533/1.69, allocations: 1.059 MB / 1.429 GB, free: 3.777 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.001957/1.692, allocations: 363.1 kB / 1.429 GB, free: 3.426 MB / 0.8542 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.000328/1.693, allocations: 207.4 kB / 1.429 GB, free: 3.223 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.00133/1.694, allocations: 0.9721 MB / 1.43 GB, free: 2.359 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/1.694, allocations: 0 / 1.43 GB, free: 2.359 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0005924/1.695, allocations: 0.4935 MB / 1.431 GB, free: 1.891 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001106/1.696, allocations: 277.1 kB / 1.431 GB, free: 1.688 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003016/1.699, allocations: 1.852 MB / 1.433 GB, free: 15.98 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001026/1.7, allocations: 1.394 MB / 1.434 GB, free: 14.62 MB / 0.8698 GB Notification: Performance of SimCode: time 4.51e-07/1.7, allocations: 4 kB / 1.434 GB, free: 14.61 MB / 0.8698 GB (rm -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorStepResponse.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Examples.ConductorStepResponse.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Examples.ConductorStepResponse.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorStepResponse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.HeatTransfer.Examples.ConductorStepResponse_res.mat --tempDir=temp_Buildings_9_Buildings_HeatTransfer_Examples_ConductorStepResponse_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_HeatTransfer_Examples_ConductorStepResponse.fmu > Buildings_9_Buildings.HeatTransfer.Examples.ConductorStepResponse.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.HeatTransfer.Examples.ConductorStepResponse_res.mat does not exist to compare? outputFormat=mat