Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.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.Conduction.BaseClasses.Examples.Temperature_u,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u",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.94/1.94, 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.001082/0.001082, allocations: 169.3 kB / 490.8 MB, free: 1.969 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.226/1.226, allocations: 221.3 MB / 0.7863 GB, free: 13.75 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.0009489/0.0009489, allocations: 98.2 kB / 0.9264 GB, free: 14.28 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.5072/0.5082, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2162/0.7244, allocations: 143 MB / 1.212 GB, free: 40.07 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6/1.324, allocations: 154.7 MB / 1.363 GB, free: 17.54 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000283/1.325, allocations: 87.31 kB / 1.363 GB, free: 17.54 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0231/1.348, allocations: 7.808 MB / 1.37 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/1.348, allocations: 7.812 kB / 1.37 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001093/1.348, allocations: 20.94 kB / 1.37 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007081/1.349, allocations: 328.1 kB / 1.371 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.936e-05/1.349, allocations: 60.31 kB / 1.371 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.456e-05/1.349, allocations: 6.219 kB / 1.371 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00023/1.349, allocations: 103.6 kB / 1.371 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000177/1.349, allocations: 92.95 kB / 1.371 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/1.349, allocations: 0 / 1.371 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.449e-05/1.349, allocations: 0 / 1.371 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/1.349, allocations: 1.25 kB / 1.371 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002835/1.35, allocations: 223.2 kB / 1.371 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001435/1.351, allocations: 356.7 kB / 1.372 GB, free: 31.99 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.656e-05/1.351, allocations: 56.47 kB / 1.372 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001411/1.351, allocations: 106.2 kB / 1.372 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.642e-05/1.351, allocations: 39.47 kB / 1.372 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=6): time 1.523e-06/1.351, allocations: 0 / 1.372 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6): time 0.0004173/1.352, allocations: 162.8 kB / 1.372 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.967e-05/1.352, allocations: 56.69 kB / 1.372 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000287/1.352, allocations: 256 kB / 1.372 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.991e-05/1.352, allocations: 25.7 kB / 1.372 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.58e-05/1.352, allocations: 111.7 kB / 1.372 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 7.189e-05/1.352, allocations: 18.19 kB / 1.372 GB, free: 31.49 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.147e-05/1.352, allocations: 1.156 kB / 1.372 GB, free: 31.49 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001515/1.353, allocations: 337.8 kB / 1.373 GB, free: 31.17 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001742/1.353, allocations: 128 kB / 1.373 GB, free: 31.17 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001596/1.353, allocations: 133.3 kB / 1.373 GB, free: 31.17 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000661/1.354, allocations: 257.5 kB / 1.373 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/1.354, allocations: 0 / 1.373 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009883/1.355, allocations: 0.5289 MB / 1.374 GB, free: 31.1 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/1.355, allocations: 4.438 kB / 1.374 GB, free: 31.1 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.618e-05/1.355, allocations: 3.797 kB / 1.374 GB, free: 31.1 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/1.355, allocations: 1.281 kB / 1.374 GB, free: 31.1 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001215/1.355, allocations: 21.47 kB / 1.374 GB, free: 31.1 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/1.355, allocations: 1.031 kB / 1.374 GB, free: 31.1 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001683/1.355, allocations: 38.72 kB / 1.374 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.332e-05/1.355, allocations: 12.14 kB / 1.374 GB, free: 31.07 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.217e-05/1.355, allocations: 102.1 kB / 1.374 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.332e-05/1.355, allocations: 23.22 kB / 1.374 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004627/1.356, allocations: 207.8 kB / 1.374 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/1.356, allocations: 0.5625 kB / 1.374 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/1.356, allocations: 1.562 kB / 1.374 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/1.356, allocations: 4.609 kB / 1.374 GB, free: 30.9 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001872/1.356, allocations: 204.2 kB / 1.374 GB, free: 30.74 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/1.356, allocations: 0.9688 kB / 1.374 GB, free: 30.74 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001155/1.356, allocations: 17.36 kB / 1.374 GB, free: 30.74 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.157e-06/1.356, allocations: 1.891 kB / 1.374 GB, free: 30.74 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.565e-05/1.356, allocations: 2.312 kB / 1.374 GB, free: 30.74 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/1.356, allocations: 0.7969 kB / 1.374 GB, free: 30.74 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/1.356, allocations: 0 / 1.374 GB, free: 30.74 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003615/1.356, allocations: 196.3 kB / 1.375 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004686/1.357, allocations: 0.5652 MB / 1.375 GB, free: 30.21 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001025/1.357, allocations: 108.8 kB / 1.375 GB, free: 30.1 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.885e-05/1.357, allocations: 0.875 kB / 1.375 GB, free: 30.1 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001063/1.357, allocations: 13.44 kB / 1.375 GB, free: 30.09 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.877e-05/1.357, allocations: 14.41 kB / 1.375 GB, free: 30.09 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.748e-05/1.357, allocations: 7.859 kB / 1.375 GB, free: 30.09 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0001958/1.357, allocations: 187.2 kB / 1.375 GB, free: 30 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001173/1.359, allocations: 130.1 kB / 1.376 GB, free: 29.98 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005797/1.359, allocations: 239.6 kB / 1.376 GB, free: 29.86 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0004177/1.36, allocations: 345.3 kB / 1.376 GB, free: 29.79 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.532e-06/1.36, allocations: 0 / 1.376 GB, free: 29.79 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 8.107e-05/1.36, allocations: 52.48 kB / 1.376 GB, free: 29.79 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002592/1.36, allocations: 31.91 kB / 1.376 GB, free: 29.79 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005941/1.361, allocations: 240.1 kB / 1.376 GB, free: 29.68 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004953/1.361, allocations: 0.7621 MB / 1.377 GB, free: 28.97 MB / 0.8386 GB Notification: Performance of SimCode: time 2.7e-07/1.361, allocations: 0.8125 kB / 1.377 GB, free: 28.97 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u.fmu > Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe 2>&1)