Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.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.ConductorMultiLayer2,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Examples_ConductorMultiLayer2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorMultiLayer2,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Examples_ConductorMultiLayer2",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 1.985/1.985, allocations: 390.4 MB / 397.7 MB, free: 10.62 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001276/0.001276, allocations: 180.5 kB / 490.8 MB, free: 11.15 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.32/1.32, allocations: 221.4 MB / 0.7863 GB, free: 13.53 MB / 0.5886 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009513/0.0009512, allocations: 104.7 kB / 0.9264 GB, free: 4.496 MB / 0.6667 GB Notification: Performance of FrontEnd - loaded program: time 0.3035/0.3045, allocations: 149.1 MB / 1.072 GB, free: 15.47 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7411/1.046, allocations: 143 MB / 1.212 GB, free: 155.8 MB / 0.8855 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1744/1.22, allocations: 162 MB / 1.37 GB, free: 29.58 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002325/1.22, allocations: 75.97 kB / 1.37 GB, free: 29.5 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.08207/1.302, allocations: 27.52 MB / 1.397 GB, free: 2.023 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/1.302, allocations: 12 kB / 1.397 GB, free: 2.012 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000368/1.303, allocations: 75.06 kB / 1.397 GB, free: 1.938 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002366/1.305, allocations: 1.238 MB / 1.398 GB, free: 0.6602 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.595e-05/1.305, allocations: 12 kB / 1.398 GB, free: 0.6484 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.191e-05/1.305, allocations: 27.91 kB / 1.398 GB, free: 0.6211 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003183/1.306, allocations: 212.8 kB / 1.398 GB, free: 424 kB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003897/1.306, allocations: 333 kB / 1.399 GB, free: 68 kB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/1.306, allocations: 0 / 1.399 GB, free: 68 kB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.553e-05/1.306, allocations: 0 / 1.399 GB, free: 68 kB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/1.306, allocations: 12 kB / 1.399 GB, free: 56 kB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002347/1.308, allocations: 1.937 MB / 1.4 GB, free: 14.01 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004194/1.309, allocations: 270.7 kB / 1.401 GB, free: 13.74 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002326/1.309, allocations: 135.7 kB / 1.401 GB, free: 13.61 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 1.516e-05/1.309, allocations: 4 kB / 1.401 GB, free: 13.6 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.984e-05/1.309, allocations: 34.56 kB / 1.401 GB, free: 13.55 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=18): time 1.453e-06/1.309, allocations: 4 kB / 1.401 GB, free: 13.55 MB / 0.9011 GB Notification: Performance of matching and sorting (n=18): time 0.0006212/1.31, allocations: 333.8 kB / 1.401 GB, free: 13.21 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.544e-05/1.31, allocations: 51.41 kB / 1.401 GB, free: 13.15 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001113/1.311, allocations: 0.8899 MB / 1.402 GB, free: 12.26 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 3.257e-05/1.311, allocations: 25.7 kB / 1.402 GB, free: 12.23 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001506/1.311, allocations: 212.4 kB / 1.402 GB, free: 12.01 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001157/1.311, allocations: 74.94 kB / 1.402 GB, free: 11.94 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.803e-05/1.311, allocations: 7.219 kB / 1.402 GB, free: 11.93 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.000146/1.312, allocations: 378.8 kB / 1.403 GB, free: 11.55 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002913/1.312, allocations: 229.1 kB / 1.403 GB, free: 11.33 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004204/1.312, allocations: 0.4891 MB / 1.404 GB, free: 10.71 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003785/1.313, allocations: 295.9 kB / 1.404 GB, free: 10.42 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.262e-06/1.313, allocations: 4 kB / 1.404 GB, free: 10.42 MB / 0.9011 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001073/1.314, allocations: 0.7417 MB / 1.405 GB, free: 9.668 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/1.314, allocations: 7.438 kB / 1.405 GB, free: 9.664 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.298e-05/1.314, allocations: 13.69 kB / 1.405 GB, free: 9.652 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002594/1.314, allocations: 56.73 kB / 1.405 GB, free: 9.594 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004561/1.314, allocations: 139.7 kB / 1.405 GB, free: 9.457 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001114/1.316, allocations: 1.404 MB / 1.406 GB, free: 7.934 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009288/1.317, allocations: 139.4 kB / 1.406 GB, free: 7.797 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.829e-05/1.317, allocations: 24.69 kB / 1.406 GB, free: 7.773 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 62 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001112/1.317, allocations: 136.7 kB / 1.406 GB, free: 7.633 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.694e-05/1.317, allocations: 59.16 kB / 1.406 GB, free: 7.574 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001255/1.317, allocations: 69.64 kB / 1.407 GB, free: 7.504 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/1.317, allocations: 4 kB / 1.407 GB, free: 7.5 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/1.317, allocations: 0 / 1.407 GB, free: 7.5 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/1.317, allocations: 0 / 1.407 GB, free: 7.5 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006388/1.318, allocations: 0.6264 MB / 1.407 GB, free: 6.836 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/1.318, allocations: 0.9375 kB / 1.407 GB, free: 6.836 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002567/1.318, allocations: 43.97 kB / 1.407 GB, free: 6.793 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001181/1.318, allocations: 44.81 kB / 1.407 GB, free: 6.746 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.214e-05/1.318, allocations: 8 kB / 1.407 GB, free: 6.738 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001025/1.319, allocations: 1.406 MB / 1.409 GB, free: 5.215 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/1.319, allocations: 0.6875 kB / 1.409 GB, free: 5.215 MB / 0.9011 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005967/1.32, allocations: 0.554 MB / 1.409 GB, free: 4.641 MB / 0.9011 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008319/1.321, allocations: 1.098 MB / 1.41 GB, free: 3.52 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003565/1.321, allocations: 352.2 kB / 1.411 GB, free: 3.133 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.489e-05/1.321, allocations: 9.172 kB / 1.411 GB, free: 3.125 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005188/1.322, allocations: 51.83 kB / 1.411 GB, free: 3.074 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.353e-05/1.322, allocations: 7.984 kB / 1.411 GB, free: 3.066 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.299e-05/1.322, allocations: 8 kB / 1.411 GB, free: 3.059 MB / 0.9011 GB Notification: Performance of sort global known variables: time 0.0007553/1.322, allocations: 0.6747 MB / 1.411 GB, free: 2.387 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.001204/1.324, allocations: 187.1 kB / 1.411 GB, free: 2.207 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (con.lay[1].T[1],con.lay[1].T[2],con.lay[2].T[1],con.lay[2].T[2],con.lay[2].T[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 16 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002555/1.324, allocations: 182.6 kB / 1.412 GB, free: 2.023 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0007507/1.325, allocations: 0.5341 MB / 1.412 GB, free: 1.48 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/1.325, allocations: 0 / 1.412 GB, free: 1.48 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0002544/1.325, allocations: 231.1 kB / 1.412 GB, free: 1.246 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006242/1.326, allocations: 148.2 kB / 1.413 GB, free: 1.109 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00185/1.327, allocations: 1.251 MB / 1.414 GB, free: 15.84 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006379/1.328, allocations: 1.076 MB / 1.415 GB, free: 14.73 MB / 0.9167 GB Notification: Performance of SimCode: time 2.71e-07/1.328, allocations: 0 / 1.415 GB, free: 14.73 MB / 0.9167 GB (rm -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Examples_ConductorMultiLayer2_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Examples_ConductorMultiLayer2.fmu > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2_res.mat does not exist to compare? outputFormat=mat