Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorMultiLayer.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.ConductorMultiLayer,fileNamePrefix="Buildings_maint_7_0_x_Buildings_HeatTransfer_Examples_ConductorMultiLayer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorMultiLayer,fileNamePrefix="Buildings_maint_7_0_x_Buildings_HeatTransfer_Examples_ConductorMultiLayer",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.222/1.222, allocations: 249.4 MB / 256.7 MB, free: 6.957 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.0009513/0.0009513, allocations: 196.4 kB / 316 MB, free: 3.508 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.083/1.083, allocations: 205.1 MB / 0.5667 GB, free: 15.65 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.0007821/0.0007821, allocations: 104.8 kB / 0.671 GB, free: 4.777 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3075/0.3083, allocations: 112.4 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.15/0.4583, allocations: 106.3 MB / 0.8846 GB, free: 12.54 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4755/0.9338, allocations: 144.6 MB / 1.026 GB, free: 9.945 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001961/0.934, allocations: 76.64 kB / 1.026 GB, free: 9.91 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.08642/1.02, allocations: 27.16 MB / 1.052 GB, free: 3.766 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/1.021, allocations: 8 kB / 1.052 GB, free: 3.758 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001849/1.021, allocations: 83.06 kB / 1.053 GB, free: 3.676 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002034/1.023, allocations: 1.239 MB / 1.054 GB, free: 2.684 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.196e-05/1.023, allocations: 8 kB / 1.054 GB, free: 2.676 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.565e-05/1.023, allocations: 20 kB / 1.054 GB, free: 2.656 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003124/1.023, allocations: 218.8 kB / 1.054 GB, free: 2.5 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004339/1.024, allocations: 335.2 kB / 1.054 GB, free: 2.215 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/1.024, allocations: 0 / 1.054 GB, free: 2.215 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.544e-05/1.024, allocations: 3.906 kB / 1.054 GB, free: 2.211 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/1.024, allocations: 4 kB / 1.054 GB, free: 2.207 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002087/1.026, allocations: 1.931 MB / 1.056 GB, free: 0.5 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000459/1.026, allocations: 285.3 kB / 1.056 GB, free: 284 kB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000152/1.026, allocations: 133.9 kB / 1.057 GB, free: 184 kB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 1.346e-05/1.026, allocations: 0 / 1.057 GB, free: 184 kB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.105e-05/1.026, allocations: 34.56 kB / 1.057 GB, free: 140 kB / 0.6667 GB Notification: Performance of pre-optimization done (n=18): time 1.783e-06/1.026, allocations: 0 / 1.057 GB, free: 140 kB / 0.6667 GB Notification: Performance of matching and sorting (n=18): time 0.0005501/1.027, allocations: 338 kB / 1.057 GB, free: 15.85 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.103e-05/1.027, allocations: 51.41 kB / 1.057 GB, free: 15.79 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001009/1.028, allocations: 0.897 MB / 1.058 GB, free: 15.1 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.037e-05/1.028, allocations: 25.7 kB / 1.058 GB, free: 15.07 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001353/1.028, allocations: 215.9 kB / 1.058 GB, free: 14.89 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000115/1.028, allocations: 58.3 kB / 1.058 GB, free: 14.84 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.751e-05/1.028, allocations: 4 kB / 1.058 GB, free: 14.83 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001458/1.029, allocations: 379.2 kB / 1.059 GB, free: 14.48 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002728/1.029, allocations: 230.4 kB / 1.059 GB, free: 14.31 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004126/1.029, allocations: 0.4895 MB / 1.059 GB, free: 13.76 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003589/1.03, allocations: 305.6 kB / 1.06 GB, free: 13.53 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.88e-06/1.03, allocations: 4 kB / 1.06 GB, free: 13.52 MB / 0.6823 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0009584/1.031, allocations: 0.7328 MB / 1.06 GB, free: 12.91 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/1.031, allocations: 8.031 kB / 1.06 GB, free: 12.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.457e-05/1.031, allocations: 12 kB / 1.06 GB, free: 12.89 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002079/1.031, allocations: 56.5 kB / 1.06 GB, free: 12.84 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000443/1.031, allocations: 131 kB / 1.06 GB, free: 12.71 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001164/1.032, allocations: 1.424 MB / 1.062 GB, free: 11.24 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008823/1.033, allocations: 131.5 kB / 1.062 GB, free: 11.11 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.691e-05/1.033, allocations: 26.94 kB / 1.062 GB, free: 11.09 MB / 0.6823 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.0001023/1.034, allocations: 131.1 kB / 1.062 GB, free: 10.96 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.862e-05/1.034, allocations: 62.44 kB / 1.062 GB, free: 10.9 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001003/1.034, allocations: 66.83 kB / 1.062 GB, free: 10.85 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/1.034, allocations: 4 kB / 1.062 GB, free: 10.84 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/1.034, allocations: 0 / 1.062 GB, free: 10.84 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/1.034, allocations: 11.89 kB / 1.062 GB, free: 10.83 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005614/1.034, allocations: 0.6221 MB / 1.063 GB, free: 10.32 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/1.034, allocations: 0 / 1.063 GB, free: 10.32 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002482/1.035, allocations: 43.16 kB / 1.063 GB, free: 10.29 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001241/1.035, allocations: 47.17 kB / 1.063 GB, free: 10.24 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.442e-05/1.035, allocations: 7.984 kB / 1.063 GB, free: 10.23 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001062/1.036, allocations: 1.399 MB / 1.064 GB, free: 8.801 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.057e-06/1.036, allocations: 8.062 kB / 1.064 GB, free: 8.793 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005964/1.036, allocations: 0.5587 MB / 1.065 GB, free: 8.312 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000852/1.037, allocations: 1.094 MB / 1.066 GB, free: 7.348 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003676/1.038, allocations: 360.6 kB / 1.066 GB, free: 6.992 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.099e-05/1.038, allocations: 4 kB / 1.066 GB, free: 6.988 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005215/1.038, allocations: 51.91 kB / 1.066 GB, free: 6.938 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.381e-05/1.038, allocations: 7.984 kB / 1.066 GB, free: 6.93 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.592e-05/1.038, allocations: 11.66 kB / 1.066 GB, free: 6.922 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.000742/1.039, allocations: 0.6677 MB / 1.067 GB, free: 6.434 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001258/1.04, allocations: 191.7 kB / 1.067 GB, free: 6.25 MB / 0.6823 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.0002879/1.041, allocations: 168.1 kB / 1.067 GB, free: 6.078 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0008171/1.042, allocations: 0.5398 MB / 1.068 GB, free: 5.625 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/1.042, allocations: 0 / 1.068 GB, free: 5.625 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003141/1.042, allocations: 233.8 kB / 1.068 GB, free: 5.418 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006701/1.043, allocations: 144.8 kB / 1.068 GB, free: 5.312 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001909/1.044, allocations: 1.251 MB / 1.069 GB, free: 4.16 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007482/1.045, allocations: 1.072 MB / 1.071 GB, free: 3.117 MB / 0.6823 GB Notification: Performance of SimCode: time 4e-07/1.045, allocations: 4 kB / 1.071 GB, free: 3.113 MB / 0.6823 GB (rm -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe >> ../files/Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorMultiLayer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_HeatTransfer_Examples_ConductorMultiLayer_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_HeatTransfer_Examples_ConductorMultiLayer.fmu > Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe 2>&1)