Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Examples.ConductorStepResponse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorStepResponse,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Examples_ConductorStepResponse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorStepResponse,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.013/2.013, allocations: 390.4 MB / 397.7 MB, free: 11.25 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.001061/0.001061, allocations: 185.3 kB / 490.8 MB, free: 1.953 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.356/1.356, allocations: 221.3 MB / 0.7863 GB, free: 13.66 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001184/0.001184, allocations: 100.6 kB / 0.9264 GB, free: 14.19 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.7679/0.7691, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3017/1.071, allocations: 143 MB / 1.212 GB, free: 40.02 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7661/1.837, allocations: 162.8 MB / 1.371 GB, free: 17.09 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003142/1.837, allocations: 76.7 kB / 1.371 GB, free: 17.09 MB / 0.823 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.1328/1.97, allocations: 39.03 MB / 1.409 GB, free: 17.72 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.306e-05/1.97, allocations: 16 kB / 1.409 GB, free: 17.71 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009361/1.971, allocations: 165.9 kB / 1.409 GB, free: 17.54 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00492/1.976, allocations: 1.866 MB / 1.411 GB, free: 16.08 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.662e-05/1.976, allocations: 16 kB / 1.411 GB, free: 16.07 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000158/1.976, allocations: 44 kB / 1.411 GB, free: 16.02 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005798/1.977, allocations: 280 kB / 1.411 GB, free: 15.84 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007849/1.978, allocations: 468.7 kB / 1.412 GB, free: 15.45 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.587e-05/1.978, allocations: 0 / 1.412 GB, free: 15.45 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.357e-05/1.978, allocations: 0 / 1.412 GB, free: 15.45 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.585e-05/1.978, allocations: 12 kB / 1.412 GB, free: 15.44 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004762/1.983, allocations: 3.066 MB / 1.415 GB, free: 12.62 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007043/1.983, allocations: 356.6 kB / 1.415 GB, free: 12.36 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002417/1.984, allocations: 165.9 kB / 1.415 GB, free: 12.24 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.626e-05/1.984, allocations: 4 kB / 1.415 GB, free: 12.24 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.387e-05/1.984, allocations: 35.78 kB / 1.415 GB, free: 12.2 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=28): time 1.863e-06/1.984, allocations: 7.938 kB / 1.415 GB, free: 12.19 MB / 0.8386 GB Notification: Performance of matching and sorting (n=28): time 0.001355/1.985, allocations: 0.5371 MB / 1.416 GB, free: 11.73 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.413e-05/1.985, allocations: 55.41 kB / 1.416 GB, free: 11.66 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002574/1.988, allocations: 1.457 MB / 1.417 GB, free: 10.58 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 6.26e-05/1.988, allocations: 25.7 kB / 1.417 GB, free: 10.55 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003612/1.988, allocations: 362.1 kB / 1.417 GB, free: 10.25 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001841/1.988, allocations: 100.5 kB / 1.418 GB, free: 10.17 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.236e-05/1.988, allocations: 0 / 1.418 GB, free: 10.17 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001682/1.988, allocations: 348.8 kB / 1.418 GB, free: 9.836 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004442/1.989, allocations: 283.6 kB / 1.418 GB, free: 9.637 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008882/1.99, allocations: 0.8715 MB / 1.419 GB, free: 8.566 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006561/1.99, allocations: 419.3 kB / 1.419 GB, free: 8.238 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.691e-05/1.99, allocations: 4 kB / 1.419 GB, free: 8.234 MB / 0.8386 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.002212/1.993, allocations: 1.23 MB / 1.421 GB, free: 7.172 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/1.993, allocations: 4 kB / 1.421 GB, free: 7.168 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.824e-05/1.993, allocations: 20 kB / 1.421 GB, free: 7.148 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006299/1.993, allocations: 195.3 kB / 1.421 GB, free: 6.973 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007174/1.994, allocations: 228.9 kB / 1.421 GB, free: 6.758 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004237/1.998, allocations: 4.504 MB / 1.425 GB, free: 2.23 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001707/2, allocations: 146.7 kB / 1.426 GB, free: 2.086 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.853e-05/2, allocations: 59 kB / 1.426 GB, free: 2.035 MB / 0.8386 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.0001745/2, allocations: 164 kB / 1.426 GB, free: 1.875 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001792/2.001, allocations: 129.9 kB / 1.426 GB, free: 1.75 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003737/2.001, allocations: 128.7 kB / 1.426 GB, free: 1.656 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.816e-06/2.001, allocations: 0 / 1.426 GB, free: 1.656 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.291e-05/2.001, allocations: 4 kB / 1.426 GB, free: 1.652 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.623e-06/2.001, allocations: 3.984 kB / 1.426 GB, free: 1.648 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001129/2.002, allocations: 0.8697 MB / 1.427 GB, free: 0.957 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.255e-06/2.002, allocations: 0 / 1.427 GB, free: 0.957 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002191/2.002, allocations: 39.34 kB / 1.427 GB, free: 0.9219 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005064/2.003, allocations: 162.5 kB / 1.427 GB, free: 0.7812 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.561e-05/2.003, allocations: 3.984 kB / 1.427 GB, free: 0.7773 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003933/2.007, allocations: 4.463 MB / 1.431 GB, free: 12.29 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-05/2.007, allocations: 7.984 kB / 1.431 GB, free: 12.29 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001354/2.008, allocations: 0.8147 MB / 1.432 GB, free: 11.6 MB / 0.8542 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001447/2.01, allocations: 1.397 MB / 1.434 GB, free: 10.39 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001038/2.011, allocations: 0.9459 MB / 1.435 GB, free: 9.375 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001736/2.011, allocations: 8.172 kB / 1.435 GB, free: 9.367 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000683/2.012, allocations: 31.95 kB / 1.435 GB, free: 9.336 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.756e-05/2.012, allocations: 15.97 kB / 1.435 GB, free: 9.32 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.027e-05/2.012, allocations: 7.125 kB / 1.435 GB, free: 9.316 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.001612/2.013, allocations: 1.066 MB / 1.436 GB, free: 8.555 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.002067/2.015, allocations: 358.5 kB / 1.436 GB, free: 8.211 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.0003721/2.016, allocations: 197.1 kB / 1.436 GB, free: 8.02 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001628/2.017, allocations: 0.9689 MB / 1.437 GB, free: 7.16 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/2.017, allocations: 0 / 1.437 GB, free: 7.16 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0006675/2.018, allocations: 0.4901 MB / 1.438 GB, free: 6.691 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001304/2.019, allocations: 300 kB / 1.438 GB, free: 6.473 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003658/2.023, allocations: 1.847 MB / 1.44 GB, free: 4.773 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001284/2.024, allocations: 1.389 MB / 1.441 GB, free: 3.414 MB / 0.8542 GB Notification: Performance of SimCode: time 1.343e-06/2.024, allocations: 0 / 1.441 GB, free: 3.414 MB / 0.8542 GB (rm -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorStepResponse.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Examples.ConductorStepResponse.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Examples.ConductorStepResponse.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorStepResponse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Examples.ConductorStepResponse_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Examples_ConductorStepResponse_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Examples_ConductorStepResponse.fmu > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorStepResponse.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.HeatTransfer.Examples.ConductorStepResponse_res.mat does not exist to compare? outputFormat=mat