Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.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/IBPSA 4.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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_HydraulicDiameter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_HydraulicDiameter",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.00129/0.00129, allocations: 192.4 kB / 7.803 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4601/0.4601, allocations: 90.85 MB / 99.07 MB, free: 14.93 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.366/1.366, allocations: 221.4 MB / 342.8 MB, free: 5.191 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001077/0.001077, allocations: 95.64 kB / 415.5 MB, free: 6.422 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1895/0.1906, allocations: 78.44 MB / 493.9 MB, free: 7.969 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4256/0.6162, allocations: 72.3 MB / 0.553 GB, free: 73.36 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.645/1.261, allocations: 364.6 MB / 0.9091 GB, free: 7.539 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002455/1.262, allocations: 86.62 kB / 0.9091 GB, free: 7.496 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.6383/1.9, allocations: 171.7 MB / 1.077 GB, free: 123.8 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.66e-05/1.9, allocations: 12 kB / 1.077 GB, free: 123.7 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001802/1.9, allocations: 43.53 kB / 1.077 GB, free: 123.7 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03592/1.936, allocations: 14.67 MB / 1.091 GB, free: 108.9 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.622e-05/1.936, allocations: 8 kB / 1.091 GB, free: 108.8 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.059e-05/1.936, allocations: 12 kB / 1.091 GB, free: 108.8 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002542/1.936, allocations: 92.62 kB / 1.091 GB, free: 108.7 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002295/1.937, allocations: 131.9 kB / 1.091 GB, free: 108.6 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/1.937, allocations: 4 kB / 1.091 GB, free: 108.6 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.123e-05/1.937, allocations: 0 / 1.091 GB, free: 108.6 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.347e-06/1.937, allocations: 4 kB / 1.091 GB, free: 108.6 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001163/1.938, allocations: 0.8212 MB / 1.092 GB, free: 107.7 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002217/1.938, allocations: 98.67 kB / 1.092 GB, free: 107.6 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.985e-05/1.938, allocations: 52.84 kB / 1.092 GB, free: 107.5 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002397/1.939, allocations: 332.4 kB / 1.093 GB, free: 107.1 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.616e-05/1.939, allocations: 38.56 kB / 1.093 GB, free: 107.1 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=12): time 2.014e-06/1.939, allocations: 224 / 1.093 GB, free: 107.1 MB / 0.6042 GB Notification: Performance of matching and sorting (n=12): time 0.0004179/1.939, allocations: 141.1 kB / 1.093 GB, free: 106.9 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.066e-05/1.939, allocations: 55.41 kB / 1.093 GB, free: 106.9 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001939/1.939, allocations: 250.1 kB / 1.093 GB, free: 106.6 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.661e-05/1.939, allocations: 29.7 kB / 1.093 GB, free: 106.6 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.089e-05/1.939, allocations: 140.3 kB / 1.093 GB, free: 106.5 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.795e-05/1.939, allocations: 39.45 kB / 1.093 GB, free: 106.4 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.532e-06/1.939, allocations: 0 / 1.093 GB, free: 106.4 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.752e-05/1.939, allocations: 342.7 kB / 1.094 GB, free: 106.1 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.553e-05/1.939, allocations: 27.98 kB / 1.094 GB, free: 106 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.19e-05/1.94, allocations: 83.86 kB / 1.094 GB, free: 105.9 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001299/1.94, allocations: 47.94 kB / 1.094 GB, free: 105.9 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/1.94, allocations: 0 / 1.094 GB, free: 105.9 MB / 0.6042 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002424/1.94, allocations: 141.2 kB / 1.094 GB, free: 105.7 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.708e-05/1.94, allocations: 186 kB / 1.094 GB, free: 105.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/1.94, allocations: 0 / 1.094 GB, free: 105.6 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/1.94, allocations: 3.938 kB / 1.094 GB, free: 105.5 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001456/1.94, allocations: 28.03 kB / 1.094 GB, free: 105.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.461e-06/1.94, allocations: 0 / 1.094 GB, free: 105.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002201/1.94, allocations: 39.8 kB / 1.094 GB, free: 105.5 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.507e-05/1.94, allocations: 8 kB / 1.094 GB, free: 105.5 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.781e-06/1.94, allocations: 4 kB / 1.094 GB, free: 105.5 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001853/1.941, allocations: 75.89 kB / 1.094 GB, free: 105.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.222e-06/1.941, allocations: 0 / 1.094 GB, free: 105.4 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.985e-06/1.941, allocations: 4 kB / 1.094 GB, free: 105.4 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001201/1.941, allocations: 31.92 kB / 1.094 GB, free: 105.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.224e-06/1.941, allocations: 4 kB / 1.094 GB, free: 105.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001591/1.941, allocations: 23.88 kB / 1.094 GB, free: 105.3 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.463e-05/1.941, allocations: 12 kB / 1.094 GB, free: 105.3 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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 5.883e-05/1.941, allocations: 101 kB / 1.094 GB, free: 105.2 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.139e-05/1.941, allocations: 43.52 kB / 1.095 GB, free: 105.2 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003789/1.941, allocations: 192 kB / 1.095 GB, free: 105 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-06/1.942, allocations: 3.984 kB / 1.095 GB, free: 105 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/1.942, allocations: 4 kB / 1.095 GB, free: 105 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/1.942, allocations: 0 / 1.095 GB, free: 105 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006001/1.942, allocations: 0.525 MB / 1.095 GB, free: 104.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.556e-06/1.942, allocations: 192 / 1.095 GB, free: 104.4 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001189/1.942, allocations: 31.92 kB / 1.095 GB, free: 104.4 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/1.942, allocations: 3.938 kB / 1.095 GB, free: 104.4 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.555e-05/1.942, allocations: 8 kB / 1.095 GB, free: 104.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/1.942, allocations: 4.094 kB / 1.095 GB, free: 104.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/1.942, allocations: 4 kB / 1.095 GB, free: 104.3 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003062/1.943, allocations: 321.6 kB / 1.096 GB, free: 104 MB / 0.6042 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000417/1.943, allocations: 0.7061 MB / 1.096 GB, free: 103.2 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 9.084e-05/1.943, allocations: 124.5 kB / 1.096 GB, free: 103.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.141e-05/1.943, allocations: 0 / 1.096 GB, free: 103.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001986/1.943, allocations: 19.98 kB / 1.096 GB, free: 103.1 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.088e-05/1.943, allocations: 15.98 kB / 1.096 GB, free: 103.1 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.238e-05/1.944, allocations: 4.047 kB / 1.096 GB, free: 103.1 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0001509/1.944, allocations: 200.6 kB / 1.097 GB, free: 102.9 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001869/1.946, allocations: 199.7 kB / 1.097 GB, free: 102.7 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * 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 Backend phase and start with SimCode phase: time 0.0006118/1.946, allocations: 289.1 kB / 1.097 GB, free: 102.4 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002456/1.946, allocations: 146 kB / 1.097 GB, free: 102.2 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/1.946, allocations: 0 / 1.097 GB, free: 102.2 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.872e-05/1.947, allocations: 63.92 kB / 1.097 GB, free: 102.2 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000713/1.947, allocations: 123.6 kB / 1.097 GB, free: 102.1 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007176/1.948, allocations: 383 kB / 1.098 GB, free: 101.7 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002785/1.948, allocations: 0.8343 MB / 1.099 GB, free: 100.8 MB / 0.6042 GB Notification: Performance of SimCode: time 2.6e-07/1.948, allocations: 0 / 1.099 GB, free: 100.8 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_HydraulicDiameter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_HydraulicDiameter.fmu > IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe 2>&1)