Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u,fileNamePrefix="Buildings_8_Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u,fileNamePrefix="Buildings_8_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 8.1.4-maint.8.1.x/package.mo): time 1.49/1.49, allocations: 289.8 MB / 297 MB, free: 6.672 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001072/0.001072, allocations: 181.3 kB / 366.3 MB, free: 1.969 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.203/1.203, allocations: 205.1 MB / 0.6256 GB, free: 5.82 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008729/0.0008729, allocations: 83.34 kB / 0.7395 GB, free: 39.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2117/0.2126, allocations: 122.4 MB / 0.8591 GB, free: 13.25 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5241/0.7367, allocations: 116.3 MB / 0.9726 GB, free: 68.63 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1633/0.9, allocations: 143.6 MB / 1.113 GB, free: 4.848 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003249/0.9004, allocations: 93.41 kB / 1.113 GB, free: 4.758 MB / 0.7136 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.02183/0.9223, allocations: 7.646 MB / 1.12 GB, free: 13.04 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.9223, allocations: 8 kB / 1.12 GB, free: 13.04 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.737e-05/0.9224, allocations: 27.62 kB / 1.12 GB, free: 13.01 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005644/0.9229, allocations: 323 kB / 1.121 GB, free: 12.65 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.595e-05/0.923, allocations: 67.34 kB / 1.121 GB, free: 12.57 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.844e-05/0.9231, allocations: 4 kB / 1.121 GB, free: 12.57 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001871/0.9233, allocations: 99.91 kB / 1.121 GB, free: 12.47 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001372/0.9234, allocations: 97.56 kB / 1.121 GB, free: 12.37 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.392e-06/0.9234, allocations: 0 / 1.121 GB, free: 12.37 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.331e-05/0.9234, allocations: 0 / 1.121 GB, free: 12.37 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.279e-06/0.9235, allocations: 0 / 1.121 GB, free: 12.37 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002166/0.9237, allocations: 225.9 kB / 1.121 GB, free: 12.11 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001354/0.925, allocations: 350.3 kB / 1.122 GB, free: 11.76 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001001/0.9252, allocations: 56.94 kB / 1.122 GB, free: 11.7 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001853/0.9253, allocations: 107 kB / 1.122 GB, free: 11.58 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.197e-05/0.9254, allocations: 38.56 kB / 1.122 GB, free: 11.54 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=6): time 1.172e-06/0.9254, allocations: 0 / 1.122 GB, free: 11.54 MB / 0.7292 GB Notification: Performance of matching and sorting (n=6): time 0.0003608/0.9258, allocations: 165.2 kB / 1.122 GB, free: 11.37 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.592e-05/0.9258, allocations: 51.41 kB / 1.122 GB, free: 11.3 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002507/0.9261, allocations: 255.4 kB / 1.122 GB, free: 11.05 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.063e-05/0.9261, allocations: 25.7 kB / 1.122 GB, free: 11.02 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.457e-05/0.9261, allocations: 116.4 kB / 1.122 GB, free: 10.9 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.496e-05/0.9262, allocations: 15.75 kB / 1.122 GB, free: 10.89 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.917e-06/0.9262, allocations: 0 / 1.122 GB, free: 10.89 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001169/0.9263, allocations: 338.7 kB / 1.123 GB, free: 10.55 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001455/0.9265, allocations: 128 kB / 1.123 GB, free: 10.42 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001376/0.9266, allocations: 128 kB / 1.123 GB, free: 10.3 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005654/0.9272, allocations: 253 kB / 1.123 GB, free: 10.05 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.9272, allocations: 4 kB / 1.123 GB, free: 10.04 MB / 0.7292 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008401/0.928, allocations: 0.5296 MB / 1.124 GB, free: 9.508 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.9281, allocations: 7.938 kB / 1.124 GB, free: 9.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.41e-05/0.9281, allocations: 4 kB / 1.124 GB, free: 9.496 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.9281, allocations: 0 / 1.124 GB, free: 9.496 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001125/0.9282, allocations: 15.98 kB / 1.124 GB, free: 9.48 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.9282, allocations: 4 kB / 1.124 GB, free: 9.477 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000129/0.9284, allocations: 36.75 kB / 1.124 GB, free: 9.441 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.468e-05/0.9284, allocations: 11.98 kB / 1.124 GB, free: 9.43 MB / 0.7292 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 7.598e-05/0.9285, allocations: 104.9 kB / 1.124 GB, free: 9.32 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.677e-05/0.9285, allocations: 19.72 kB / 1.124 GB, free: 9.301 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004197/0.9289, allocations: 215.7 kB / 1.124 GB, free: 9.082 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.81e-06/0.929, allocations: 7.938 kB / 1.124 GB, free: 9.074 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.929, allocations: 0 / 1.124 GB, free: 9.074 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.929, allocations: 7.984 kB / 1.124 GB, free: 9.066 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001722/0.9292, allocations: 202.1 kB / 1.124 GB, free: 8.832 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.9292, allocations: 0 / 1.124 GB, free: 8.832 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000107/0.9293, allocations: 19.98 kB / 1.124 GB, free: 8.812 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-06/0.9293, allocations: 0 / 1.124 GB, free: 8.812 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.161e-05/0.9293, allocations: 0 / 1.124 GB, free: 8.812 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.9293, allocations: 0.6562 kB / 1.124 GB, free: 8.812 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.9293, allocations: 128 / 1.124 GB, free: 8.812 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002907/0.9296, allocations: 200.7 kB / 1.125 GB, free: 8.598 MB / 0.7292 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004061/0.93, allocations: 0.5636 MB / 1.125 GB, free: 8.012 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 8.813e-05/0.9301, allocations: 108.8 kB / 1.125 GB, free: 7.887 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.157e-05/0.9302, allocations: 3.906 kB / 1.125 GB, free: 7.883 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.952e-05/0.9303, allocations: 8 kB / 1.125 GB, free: 7.875 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.353e-05/0.9303, allocations: 13.2 kB / 1.125 GB, free: 7.863 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.343e-05/0.9303, allocations: 8 kB / 1.125 GB, free: 7.855 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0001431/0.9305, allocations: 183.1 kB / 1.125 GB, free: 7.68 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001076/0.9316, allocations: 127.9 kB / 1.126 GB, free: 7.555 MB / 0.7292 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.0004077/0.932, allocations: 239 kB / 1.126 GB, free: 7.312 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003463/0.9324, allocations: 339.2 kB / 1.126 GB, free: 6.969 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.9324, allocations: 4 kB / 1.126 GB, free: 6.965 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 6.61e-05/0.9324, allocations: 55.97 kB / 1.126 GB, free: 6.91 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002292/0.9327, allocations: 32.77 kB / 1.126 GB, free: 6.883 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004541/0.9331, allocations: 243.9 kB / 1.126 GB, free: 6.617 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003086/0.9335, allocations: 0.7625 MB / 1.127 GB, free: 5.828 MB / 0.7292 GB Notification: Performance of SimCode: time 1.392e-06/0.9335, allocations: 0 / 1.127 GB, free: 5.828 MB / 0.7292 GB (rm -f Buildings_8_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe ; mkfifo Buildings_8_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe ; head -c 1048576 < Buildings_8_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe >> ../files/Buildings_8_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u.fmu > Buildings_8_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe 2>&1)