Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_Performance_PressureDrop_SeriesParallelDp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_Performance_PressureDrop_SeriesParallelDp",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/BuildingSystems 2.0.0-master/package.mo): time 0.7639/0.7639, allocations: 141.8 MB / 149.1 MB, free: 1.113 MB / 114.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001118/0.001118, allocations: 175.1 kB / 182 MB, free: 1.922 MB / 146.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.328/1.328, allocations: 221.3 MB / 436 MB, free: 7.148 MB / 322.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009703/0.0009706, allocations: 95.88 kB / 0.507 GB, free: 6.5 MB / 402.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001729/0.001729, allocations: 285.6 kB / 0.5885 GB, free: 98.16 MB / 450.9 MB Notification: Performance of FrontEnd - loaded program: time 0.167/0.1688, allocations: 89.66 MB / 0.676 GB, free: 9.109 MB / 450.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4385/0.6073, allocations: 82.75 MB / 0.7568 GB, free: 68.95 MB / 0.5028 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.732/4.339, allocations: 1.831 GB / 2.588 GB, free: 250.7 MB / 0.6903 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002714/4.34, allocations: 94.89 kB / 2.588 GB, free: 250.7 MB / 0.6903 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 3.555/7.895, allocations: 1.091 GB / 3.679 GB, free: 165.8 MB / 0.6903 GB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/7.895, allocations: 9 kB / 3.679 GB, free: 165.8 MB / 0.6903 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001471/7.897, allocations: 204.1 kB / 3.68 GB, free: 165.7 MB / 0.6903 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004534/7.901, allocations: 1.456 MB / 3.681 GB, free: 165.4 MB / 0.6903 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.453e-05/7.901, allocations: 18.28 kB / 3.681 GB, free: 165.4 MB / 0.6903 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002184/7.902, allocations: 41.44 kB / 3.681 GB, free: 165.4 MB / 0.6903 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001263/7.903, allocations: 0.7159 MB / 3.682 GB, free: 165.4 MB / 0.6903 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001319/7.904, allocations: 0.8674 MB / 3.683 GB, free: 165.2 MB / 0.6903 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.461e-05/7.904, allocations: 6.844 kB / 3.683 GB, free: 165.2 MB / 0.6903 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.674e-05/7.904, allocations: 0 / 3.683 GB, free: 165.2 MB / 0.6903 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.616e-05/7.904, allocations: 13.84 kB / 3.683 GB, free: 165.2 MB / 0.6903 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004938/7.909, allocations: 4.707 MB / 3.687 GB, free: 162.1 MB / 0.6903 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006987/7.91, allocations: 0.5079 MB / 3.688 GB, free: 162 MB / 0.6903 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004067/7.91, allocations: 438.5 kB / 3.688 GB, free: 162 MB / 0.6903 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00027/7.911, allocations: 194.8 kB / 3.688 GB, free: 161.8 MB / 0.6903 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003413/7.911, allocations: 309.7 kB / 3.689 GB, free: 161.8 MB / 0.6903 GB Notification: Performance of pre-optimization done (n=35): time 2.184e-06/7.911, allocations: 0 / 3.689 GB, free: 161.8 MB / 0.6903 GB Notification: Performance of matching and sorting (n=35): time 0.002012/7.913, allocations: 0.8819 MB / 3.689 GB, free: 161.6 MB / 0.6903 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.161e-05/7.913, allocations: 94.31 kB / 3.69 GB, free: 161.5 MB / 0.6903 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001194/7.914, allocations: 0.9165 MB / 3.69 GB, free: 161.4 MB / 0.6903 GB Notification: Performance of collectPreVariables (initialization): time 6.824e-05/7.914, allocations: 29.61 kB / 3.69 GB, free: 161.4 MB / 0.6903 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002365/7.915, allocations: 348 kB / 3.691 GB, free: 161.2 MB / 0.6903 GB Notification: Performance of collectInitialBindings (initialization): time 9.146e-05/7.915, allocations: 127.6 kB / 3.691 GB, free: 161.2 MB / 0.6903 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.556e-05/7.915, allocations: 3.938 kB / 3.691 GB, free: 161.2 MB / 0.6903 GB Notification: Performance of setup shared object (initialization): time 5.31e-05/7.915, allocations: 326.2 kB / 3.691 GB, free: 160.9 MB / 0.6903 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002566/7.915, allocations: 217.1 kB / 3.691 GB, free: 160.9 MB / 0.6903 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004314/7.915, allocations: 0.5483 MB / 3.692 GB, free: 160.5 MB / 0.6903 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003388/7.916, allocations: 311.8 kB / 3.692 GB, free: 160.4 MB / 0.6903 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/7.916, allocations: 9 kB / 3.692 GB, free: 160.4 MB / 0.6903 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001782/7.918, allocations: 1.005 MB / 3.693 GB, free: 160.3 MB / 0.6903 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004112/7.918, allocations: 2.101 MB / 3.695 GB, free: 158.1 MB / 0.6903 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.879e-05/7.918, allocations: 5 kB / 3.695 GB, free: 158.1 MB / 0.6903 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007898/7.919, allocations: 303.5 kB / 3.696 GB, free: 158.1 MB / 0.6903 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000375/7.919, allocations: 72.45 kB / 3.696 GB, free: 158.1 MB / 0.6903 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001855/7.921, allocations: 1.307 MB / 3.697 GB, free: 157.6 MB / 0.6903 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001299/7.922, allocations: 114.5 kB / 3.697 GB, free: 157.6 MB / 0.6903 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.978e-05/7.923, allocations: 30.8 kB / 3.697 GB, free: 157.6 MB / 0.6903 GB Notification: Performance of prepare postOptimizeDAE: time 1.207e-05/7.923, allocations: 4.312 kB / 3.697 GB, free: 157.6 MB / 0.6903 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001422/7.924, allocations: 0.679 MB / 3.698 GB, free: 157.6 MB / 0.6903 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.245e-05/7.924, allocations: 5.812 kB / 3.698 GB, free: 157.6 MB / 0.6903 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006477/7.925, allocations: 245.1 kB / 3.698 GB, free: 157.6 MB / 0.6903 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003302/7.925, allocations: 77.89 kB / 3.698 GB, free: 157.6 MB / 0.6903 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004327/7.929, allocations: 2.943 MB / 3.701 GB, free: 156.2 MB / 0.6903 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001305/7.931, allocations: 109.3 kB / 3.701 GB, free: 156.2 MB / 0.6903 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.221e-05/7.931, allocations: 21.66 kB / 3.701 GB, free: 156.2 MB / 0.6903 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse_m_flow.T_start,pulse_m_flow.T_start,$PRE.pulse_m_flow.count,pulse_m_flow.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 1 * 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: 0 * Non-linear torn systems: 1 {11 12} Notification: Performance of prepare postOptimizeDAE: time 0.0002959/7.931, allocations: 130.9 kB / 3.701 GB, free: 156.1 MB / 0.6903 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000322/7.931, allocations: 103.5 kB / 3.701 GB, free: 156.1 MB / 0.6903 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001467/7.933, allocations: 0.7812 MB / 3.702 GB, free: 156 MB / 0.6903 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.656e-06/7.933, allocations: 7.875 kB / 3.702 GB, free: 156 MB / 0.6903 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.435e-06/7.933, allocations: 0.9062 kB / 3.702 GB, free: 156 MB / 0.6903 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/7.933, allocations: 1.312 kB / 3.702 GB, free: 156 MB / 0.6903 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002802/7.936, allocations: 1.708 MB / 3.704 GB, free: 155.5 MB / 0.6903 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/7.936, allocations: 0 / 3.704 GB, free: 155.5 MB / 0.6903 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002176/7.936, allocations: 42.06 kB / 3.704 GB, free: 155.5 MB / 0.6903 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004365/7.936, allocations: 261.5 kB / 3.704 GB, free: 155.5 MB / 0.6903 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.594e-05/7.936, allocations: 2.812 kB / 3.704 GB, free: 155.5 MB / 0.6903 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001033/7.937, allocations: 1.149 MB / 3.705 GB, free: 155 MB / 0.6903 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/7.937, allocations: 3.625 kB / 3.705 GB, free: 155 MB / 0.6903 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001225/7.939, allocations: 0.9697 MB / 3.706 GB, free: 154.6 MB / 0.6903 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001545/7.94, allocations: 1.404 MB / 3.707 GB, free: 153.8 MB / 0.6903 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006227/7.941, allocations: 236.5 kB / 3.708 GB, free: 153.6 MB / 0.6903 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002606/7.941, allocations: 7.125 kB / 3.708 GB, free: 153.6 MB / 0.6903 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009116/7.942, allocations: 79.66 kB / 3.708 GB, free: 153.6 MB / 0.6903 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001016/7.942, allocations: 34.42 kB / 3.708 GB, free: 153.6 MB / 0.6903 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.33e-05/7.942, allocations: 13.66 kB / 3.708 GB, free: 153.6 MB / 0.6903 GB Notification: Performance of sort global known variables: time 0.001185/7.943, allocations: 0.7149 MB / 3.708 GB, free: 153.5 MB / 0.6903 GB Notification: Performance of remove unused functions: time 0.004157/7.948, allocations: 0.7928 MB / 3.709 GB, free: 153.5 MB / 0.6903 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,pulse_m_flow.T_start,pulse_m_flow.count) * Number of discrete states: 1 (pulse_m_flow.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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: 0 * Non-linear torn systems: 1 {11 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.001698/7.949, allocations: 1.286 MB / 3.711 GB, free: 153.2 MB / 0.6903 GB Notification: Performance of simCode: created initialization part: time 0.002388/7.952, allocations: 1.145 MB / 3.712 GB, free: 153 MB / 0.6903 GB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/7.952, allocations: 3.938 kB / 3.712 GB, free: 153 MB / 0.6903 GB Notification: Performance of simCode: created simulation system equations: time 0.0005186/7.952, allocations: 302.9 kB / 3.712 GB, free: 153 MB / 0.6903 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003103/7.955, allocations: 0.5696 MB / 3.712 GB, free: 153 MB / 0.6903 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00295/7.958, allocations: 1.49 MB / 3.714 GB, free: 152.6 MB / 0.6903 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009412/7.959, allocations: 1.293 MB / 3.715 GB, free: 151.9 MB / 0.6903 GB Notification: Performance of SimCode: time 8.52e-07/7.959, allocations: 0.75 kB / 3.715 GB, free: 151.9 MB / 0.6903 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Examples_Performance_PressureDrop_SeriesParallelDp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Examples_Performance_PressureDrop_SeriesParallelDp.fmu > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe 2>&1)