Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PressureDropsExplicit.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.FixedResistances.Validation.PressureDropsExplicit,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_FixedResistances_Validation_PressureDropsExplicit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FixedResistances.Validation.PressureDropsExplicit,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_FixedResistances_Validation_PressureDropsExplicit",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.003231/0.003231, allocations: 183.2 kB / 7.459 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7503/0.7503, allocations: 133.5 MB / 141.4 MB, free: 15.68 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.649/1.649, 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.0009759/0.0009757, allocations: 102.7 kB / 477.8 MB, free: 10.82 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.475/0.4761, allocations: 88.44 MB / 0.5529 GB, free: 89.2 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1872/0.6633, allocations: 82.3 MB / 0.6333 GB, free: 14.03 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.27/4.933, allocations: 1.835 GB / 2.468 GB, free: 128.8 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002816/4.933, allocations: 83.95 kB / 2.468 GB, free: 128.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: 193 * Number of variables: 193 Notification: Performance of Generate backend data structure: time 4.928/9.861, allocations: 1.432 GB / 3.9 GB, free: 10.04 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.628e-05/9.861, allocations: 8 kB / 3.9 GB, free: 10.03 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001569/9.863, allocations: 202.1 kB / 3.9 GB, free: 9.832 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003678/9.866, allocations: 0.9565 MB / 3.901 GB, free: 8.82 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001825/9.867, allocations: 101.3 kB / 3.901 GB, free: 8.711 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001601/9.867, allocations: 52 kB / 3.902 GB, free: 8.66 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00131/9.868, allocations: 411.9 kB / 3.902 GB, free: 8.258 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001798/9.87, allocations: 0.7887 MB / 3.903 GB, free: 7.379 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.006e-05/9.87, allocations: 0 / 3.903 GB, free: 7.379 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.773e-05/9.87, allocations: 7.984 kB / 3.903 GB, free: 7.371 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.331e-05/9.87, allocations: 23.91 kB / 3.903 GB, free: 7.348 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008844/9.879, allocations: 4.869 MB / 3.907 GB, free: 2.148 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006793/9.88, allocations: 384.6 kB / 3.908 GB, free: 1.645 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004855/9.88, allocations: 252.3 kB / 3.908 GB, free: 1.355 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000269/9.88, allocations: 113 kB / 3.908 GB, free: 1.227 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.829e-05/9.881, allocations: 50.5 kB / 3.908 GB, free: 1.168 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=33): time 4.759e-06/9.881, allocations: 0 / 3.908 GB, free: 1.168 MB / 0.7136 GB Notification: Performance of matching and sorting (n=33): time 0.002372/9.883, allocations: 458 kB / 3.909 GB, free: 0.707 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002337/9.883, allocations: 401.7 kB / 3.909 GB, free: 228 kB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.4224/10.31, allocations: 0.6466 MB / 3.91 GB, free: 126.4 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.000165/10.31, allocations: 35.11 kB / 3.91 GB, free: 126.4 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001915/10.31, allocations: 376.8 kB / 3.91 GB, free: 126.3 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 8.805e-05/10.31, allocations: 115.3 kB / 3.91 GB, free: 126.3 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.473e-05/10.31, allocations: 0 / 3.91 GB, free: 126.3 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.673e-05/10.31, allocations: 327.6 kB / 3.91 GB, free: 126 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001333/10.31, allocations: 80.7 kB / 3.911 GB, free: 126 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002476/10.31, allocations: 345.7 kB / 3.911 GB, free: 125.7 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001805/10.31, allocations: 132 kB / 3.911 GB, free: 125.7 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/10.31, allocations: 3.188 kB / 3.911 GB, free: 125.7 MB / 0.7136 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.000863/10.31, allocations: 458.8 kB / 3.911 GB, free: 125.6 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002428/10.31, allocations: 1.311 MB / 3.913 GB, free: 124.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.846e-06/10.31, allocations: 3.938 kB / 3.913 GB, free: 124.2 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002007/10.31, allocations: 60.56 kB / 3.913 GB, free: 124.2 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004838/10.31, allocations: 97.06 kB / 3.913 GB, free: 124.2 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001113/10.31, allocations: 2.342 MB / 3.915 GB, free: 122 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007765/10.31, allocations: 70.67 kB / 3.915 GB, free: 122 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.029e-05/10.31, allocations: 27.05 kB / 3.915 GB, free: 122 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.217e-06/10.31, allocations: 3.844 kB / 3.915 GB, free: 122 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005481/10.31, allocations: 284.3 kB / 3.916 GB, free: 122 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.179e-06/10.31, allocations: 3.094 kB / 3.916 GB, free: 122 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002086/10.31, allocations: 63.97 kB / 3.916 GB, free: 122 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000247/10.31, allocations: 71.78 kB / 3.916 GB, free: 122 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001856/10.31, allocations: 2.773 MB / 3.918 GB, free: 119.4 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006877/10.31, allocations: 63.77 kB / 3.918 GB, free: 119.4 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.517e-05/10.31, allocations: 22.44 kB / 3.918 GB, free: 119.4 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0001722/10.31, allocations: 128.5 kB / 3.919 GB, free: 119.3 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003808/10.31, allocations: 100.5 kB / 3.919 GB, free: 119.3 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000673/10.32, allocations: 327.9 kB / 3.919 GB, free: 119.2 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/10.32, allocations: 3.875 kB / 3.919 GB, free: 119.2 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/10.32, allocations: 7.125 kB / 3.919 GB, free: 119.2 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.755e-06/10.32, allocations: 11.16 kB / 3.919 GB, free: 119.2 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00283/10.32, allocations: 2.395 MB / 3.921 GB, free: 117.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.714e-06/10.32, allocations: 6.438 kB / 3.921 GB, free: 117.8 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002653/10.32, allocations: 72.72 kB / 3.921 GB, free: 117.8 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001887/10.32, allocations: 58.91 kB / 3.921 GB, free: 117.8 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.231e-05/10.32, allocations: 10.75 kB / 3.922 GB, free: 117.8 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001009/10.32, allocations: 2.315 MB / 3.924 GB, free: 115.5 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.047e-05/10.32, allocations: 9.984 kB / 3.924 GB, free: 115.5 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009385/10.32, allocations: 0.9378 MB / 3.925 GB, free: 114.8 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001877/10.32, allocations: 1.541 MB / 3.926 GB, free: 113.6 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004528/10.32, allocations: 210.7 kB / 3.926 GB, free: 113.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001127/10.32, allocations: 6.531 kB / 3.926 GB, free: 113.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006938/10.32, allocations: 60.05 kB / 3.926 GB, free: 113.5 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.48e-05/10.32, allocations: 44.73 kB / 3.927 GB, free: 113.5 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.991e-05/10.32, allocations: 22.97 kB / 3.927 GB, free: 113.5 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.0007101/10.33, allocations: 0.4942 MB / 3.927 GB, free: 113.4 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.00574/10.33, allocations: 1.664 MB / 3.929 GB, free: 113.3 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.005248/10.34, allocations: 3.928 MB / 3.932 GB, free: 111.8 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001706/10.34, allocations: 0.6641 MB / 3.933 GB, free: 111.6 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 9.628e-06/10.34, allocations: 3.656 kB / 3.933 GB, free: 111.6 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0004599/10.34, allocations: 177.6 kB / 3.933 GB, free: 111.6 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002362/10.34, allocations: 417.9 kB / 3.934 GB, free: 111.6 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002518/10.34, allocations: 1.316 MB / 3.935 GB, free: 111 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006728/10.34, allocations: 1.222 MB / 3.936 GB, free: 110.3 MB / 0.7136 GB Notification: Performance of SimCode: time 7.21e-07/10.34, allocations: 3.094 kB / 3.936 GB, free: 110.3 MB / 0.7136 GB (rm -f IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PressureDropsExplicit.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PressureDropsExplicit.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PressureDropsExplicit.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PressureDropsExplicit.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_FixedResistances_Validation_PressureDropsExplicit_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_FixedResistances_Validation_PressureDropsExplicit.fmu > IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PressureDropsExplicit.pipe 2>&1)