Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_T.conf.json 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/IDEAS 3.0.0-master/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Fluid.Sources.Examples.PropertySource_T,fileNamePrefix="IDEAS_IDEAS_Fluid_Sources_Examples_PropertySource_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Examples.PropertySource_T,fileNamePrefix="IDEAS_IDEAS_Fluid_Sources_Examples_PropertySource_T",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/Complex 4.0.0+maint.om/package.mo): time 0.003786/0.003786, allocations: 180.6 kB / 7.459 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7405/0.7405, allocations: 133.5 MB / 141.4 MB, free: 15.69 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.721/1.721, allocations: 221.3 MB / 395 MB, free: 10.18 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001119/0.001119, allocations: 109.5 kB / 477.8 MB, free: 10.81 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5879/0.5891, allocations: 88.41 MB / 0.5529 GB, free: 89.15 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1989/0.788, allocations: 82.31 MB / 0.6333 GB, free: 14.02 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.264/5.052, allocations: 1.836 GB / 2.469 GB, free: 126.8 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000228/5.052, allocations: 87.95 kB / 2.47 GB, free: 126.7 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 2.245/7.297, allocations: 0.6096 GB / 3.079 GB, free: 36.99 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.311e-05/7.297, allocations: 8 kB / 3.079 GB, free: 36.98 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002475/7.299, allocations: 286.4 kB / 3.079 GB, free: 36.7 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001546/7.301, allocations: 0.573 MB / 3.08 GB, free: 36.08 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.826e-05/7.301, allocations: 24 kB / 3.08 GB, free: 36.06 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000216/7.301, allocations: 44 kB / 3.08 GB, free: 36.02 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001199/7.302, allocations: 0.5232 MB / 3.081 GB, free: 35.49 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001506/7.304, allocations: 0.7893 MB / 3.081 GB, free: 34.64 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.692e-05/7.304, allocations: 0 / 3.081 GB, free: 34.64 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.347e-05/7.304, allocations: 7.938 kB / 3.081 GB, free: 34.64 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.655e-05/7.304, allocations: 45.3 kB / 3.081 GB, free: 34.59 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004489/7.309, allocations: 3.694 MB / 3.085 GB, free: 30.63 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002728/7.309, allocations: 175.7 kB / 3.085 GB, free: 30.43 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001577/7.309, allocations: 126.5 kB / 3.085 GB, free: 30.3 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000777/7.31, allocations: 0.6286 MB / 3.086 GB, free: 29.54 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.051e-05/7.31, allocations: 42.5 kB / 3.086 GB, free: 29.49 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=19): time 3.286e-06/7.31, allocations: 0 / 3.086 GB, free: 29.49 MB / 0.6823 GB Notification: Performance of matching and sorting (n=19): time 0.001829/7.312, allocations: 417 kB / 3.086 GB, free: 29.08 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.245e-05/7.312, allocations: 106.8 kB / 3.086 GB, free: 28.95 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003822/7.312, allocations: 349.3 kB / 3.087 GB, free: 28.61 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.929e-05/7.312, allocations: 25.7 kB / 3.087 GB, free: 28.57 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001516/7.312, allocations: 358.8 kB / 3.087 GB, free: 28.21 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.77e-05/7.313, allocations: 67.09 kB / 3.087 GB, free: 28.15 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.694e-05/7.313, allocations: 0 / 3.087 GB, free: 28.15 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.512e-05/7.313, allocations: 350.7 kB / 3.088 GB, free: 27.8 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000128/7.313, allocations: 87.95 kB / 3.088 GB, free: 27.71 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00018/7.313, allocations: 202.5 kB / 3.088 GB, free: 27.46 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003034/7.313, allocations: 158.6 kB / 3.088 GB, free: 27.31 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.798e-06/7.313, allocations: 0 / 3.088 GB, free: 27.31 MB / 0.6823 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.000642/7.314, allocations: 352.7 kB / 3.088 GB, free: 26.96 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/7.314, allocations: 11.94 kB / 3.088 GB, free: 26.95 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.138e-06/7.314, allocations: 3.906 kB / 3.088 GB, free: 26.94 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.388e-05/7.314, allocations: 8 kB / 3.088 GB, free: 26.93 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003488/7.314, allocations: 64.25 kB / 3.088 GB, free: 26.87 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.532e-05/7.314, allocations: 11.98 kB / 3.088 GB, free: 26.86 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005536/7.315, allocations: 51.64 kB / 3.088 GB, free: 26.81 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.295e-05/7.315, allocations: 20 kB / 3.088 GB, free: 26.79 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 32 * 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 prepare postOptimizeDAE: time 0.0001057/7.315, allocations: 108.9 kB / 3.089 GB, free: 26.68 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001179/7.315, allocations: 51.47 kB / 3.089 GB, free: 26.62 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005032/7.316, allocations: 265.1 kB / 3.089 GB, free: 26.36 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.722e-06/7.316, allocations: 0 / 3.089 GB, free: 26.36 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/7.316, allocations: 4 kB / 3.089 GB, free: 26.36 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/7.316, allocations: 0 / 3.089 GB, free: 26.36 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001767/7.318, allocations: 1.196 MB / 3.09 GB, free: 25.07 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.69e-06/7.318, allocations: 4 kB / 3.09 GB, free: 25.07 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002044/7.318, allocations: 52.38 kB / 3.09 GB, free: 25.02 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.336e-06/7.318, allocations: 4 kB / 3.09 GB, free: 25.01 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.065e-05/7.318, allocations: 4 kB / 3.09 GB, free: 25.01 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.989e-06/7.318, allocations: 7.938 kB / 3.09 GB, free: 25 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.189e-06/7.318, allocations: 4 kB / 3.09 GB, free: 25 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006101/7.318, allocations: 0.6223 MB / 3.091 GB, free: 24.22 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001222/7.32, allocations: 1.112 MB / 3.092 GB, free: 22.95 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002266/7.32, allocations: 140.5 kB / 3.092 GB, free: 22.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.795e-05/7.32, allocations: 4 kB / 3.092 GB, free: 22.79 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003954/7.32, allocations: 36.06 kB / 3.092 GB, free: 22.76 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.025e-05/7.321, allocations: 27.77 kB / 3.092 GB, free: 22.73 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.782e-05/7.321, allocations: 12 kB / 3.092 GB, free: 22.72 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0002649/7.321, allocations: 271.2 kB / 3.092 GB, free: 22.45 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002411/7.323, allocations: 0.5773 MB / 3.093 GB, free: 21.88 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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.003358/7.327, allocations: 2.212 MB / 3.095 GB, free: 19.56 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0004242/7.327, allocations: 208.2 kB / 3.095 GB, free: 19.36 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/7.327, allocations: 12.12 kB / 3.095 GB, free: 19.35 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001644/7.327, allocations: 91.84 kB / 3.095 GB, free: 19.26 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001061/7.328, allocations: 175.9 kB / 3.095 GB, free: 19.09 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002144/7.33, allocations: 0.851 MB / 3.096 GB, free: 18.17 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008545/7.331, allocations: 1.046 MB / 3.097 GB, free: 17.1 MB / 0.6823 GB Notification: Performance of SimCode: time 1.193e-06/7.331, allocations: 0 / 3.097 GB, free: 17.1 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_T.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_T.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_T.pipe >> ../files/IDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_T.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sources_Examples_PropertySource_T_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Sources_Examples_PropertySource_T.fmu > IDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_T.pipe 2>&1)