Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicit.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.FixedResistances.Validation.PressureDropsExplicit,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PressureDropsExplicit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicit,fileNamePrefix="BuildingSystems_BuildingSystems_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/BuildingSystems 2.0.0-master/package.mo): time 0.7481/0.7481, allocations: 141.8 MB / 149.1 MB, free: 2.141 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001091/0.001091, allocations: 187.2 kB / 182 MB, free: 1.684 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.388/1.388, allocations: 221.3 MB / 436 MB, free: 6.449 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009666/0.0009664, allocations: 92.7 kB / 0.507 GB, free: 3.141 MB / 410.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001976/0.001976, allocations: 276.9 kB / 0.5884 GB, free: 48.11 MB / 410.9 MB Notification: Performance of FrontEnd - loaded program: time 0.18/0.1821, allocations: 89.64 MB / 0.676 GB, free: 6.391 MB / 458.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3978/0.5798, allocations: 82.76 MB / 0.7568 GB, free: 25.51 MB / 458.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.845/4.425, allocations: 1.832 GB / 2.589 GB, free: 186.1 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002065/4.426, allocations: 89.16 kB / 2.589 GB, free: 186 MB / 0.6982 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.69/9.116, allocations: 1.432 GB / 4.021 GB, free: 75.82 MB / 0.7294 GB Notification: Performance of prepare preOptimizeDAE: time 4.814e-05/9.116, allocations: 8.125 kB / 4.021 GB, free: 75.82 MB / 0.7294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001154/9.117, allocations: 206.2 kB / 4.021 GB, free: 75.75 MB / 0.7294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002684/9.119, allocations: 0.961 MB / 4.022 GB, free: 75.36 MB / 0.7294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001132/9.12, allocations: 92.69 kB / 4.023 GB, free: 75.3 MB / 0.7294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002019/9.12, allocations: 56.56 kB / 4.023 GB, free: 75.3 MB / 0.7294 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008185/9.121, allocations: 413.2 kB / 4.023 GB, free: 75.29 MB / 0.7294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001124/9.122, allocations: 0.7854 MB / 4.024 GB, free: 75.01 MB / 0.7294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.471e-05/9.122, allocations: 3.938 kB / 4.024 GB, free: 75 MB / 0.7294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.834e-05/9.122, allocations: 3.531 kB / 4.024 GB, free: 75 MB / 0.7294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.81e-05/9.122, allocations: 22 kB / 4.024 GB, free: 75 MB / 0.7294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005614/9.128, allocations: 4.861 MB / 4.029 GB, free: 71.43 MB / 0.7294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005328/9.128, allocations: 395.8 kB / 4.029 GB, free: 71.08 MB / 0.7294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003466/9.128, allocations: 249 kB / 4.029 GB, free: 70.96 MB / 0.7294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001988/9.129, allocations: 103.4 kB / 4.029 GB, free: 70.87 MB / 0.7294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.269e-05/9.129, allocations: 54.05 kB / 4.029 GB, free: 70.83 MB / 0.7294 GB Notification: Performance of pre-optimization done (n=33): time 3.797e-06/9.129, allocations: 7.281 kB / 4.029 GB, free: 70.82 MB / 0.7294 GB Notification: Performance of matching and sorting (n=33): time 0.001705/9.13, allocations: 459.2 kB / 4.03 GB, free: 70.7 MB / 0.7294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000127/9.131, allocations: 393.6 kB / 4.03 GB, free: 70.23 MB / 0.7294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001194/9.132, allocations: 0.6469 MB / 4.031 GB, free: 70.09 MB / 0.7294 GB Notification: Performance of collectPreVariables (initialization): time 9.736e-05/9.132, allocations: 28.28 kB / 4.031 GB, free: 70.06 MB / 0.7294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003312/9.132, allocations: 384.4 kB / 4.031 GB, free: 69.84 MB / 0.7294 GB Notification: Performance of collectInitialBindings (initialization): time 9.387e-05/9.132, allocations: 115.9 kB / 4.031 GB, free: 69.76 MB / 0.7294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.384e-05/9.132, allocations: 0 / 4.031 GB, free: 69.76 MB / 0.7294 GB Notification: Performance of setup shared object (initialization): time 8.409e-05/9.132, allocations: 319 kB / 4.032 GB, free: 69.46 MB / 0.7294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000154/9.133, allocations: 78.28 kB / 4.032 GB, free: 69.46 MB / 0.7294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003918/9.133, allocations: 360.1 kB / 4.032 GB, free: 69.15 MB / 0.7294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002791/9.133, allocations: 127.3 kB / 4.032 GB, free: 69.14 MB / 0.7294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.04e-06/9.133, allocations: 1.531 kB / 4.032 GB, free: 69.14 MB / 0.7294 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001082/9.134, allocations: 466 kB / 4.033 GB, free: 69.01 MB / 0.7294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003633/9.135, allocations: 1.32 MB / 4.034 GB, free: 67.64 MB / 0.7294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.426e-05/9.135, allocations: 3.281 kB / 4.034 GB, free: 67.64 MB / 0.7294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002477/9.135, allocations: 64.78 kB / 4.034 GB, free: 67.62 MB / 0.7294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005127/9.136, allocations: 97.94 kB / 4.034 GB, free: 67.62 MB / 0.7294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001204/9.137, allocations: 2.338 MB / 4.036 GB, free: 65.4 MB / 0.7294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008491/9.138, allocations: 66.62 kB / 4.036 GB, free: 65.39 MB / 0.7294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.401e-05/9.138, allocations: 23.73 kB / 4.036 GB, free: 65.39 MB / 0.7294 GB Notification: Performance of prepare postOptimizeDAE: time 1.024e-05/9.138, allocations: 4.375 kB / 4.036 GB, free: 65.39 MB / 0.7294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006753/9.138, allocations: 283.2 kB / 4.037 GB, free: 65.35 MB / 0.7294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/9.138, allocations: 3.812 kB / 4.037 GB, free: 65.35 MB / 0.7294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002398/9.139, allocations: 66.53 kB / 4.037 GB, free: 65.33 MB / 0.7294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002743/9.139, allocations: 72.67 kB / 4.037 GB, free: 65.33 MB / 0.7294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00231/9.141, allocations: 2.78 MB / 4.039 GB, free: 62.76 MB / 0.7294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008574/9.142, allocations: 59.78 kB / 4.04 GB, free: 62.75 MB / 0.7294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.535e-05/9.142, allocations: 23.84 kB / 4.04 GB, free: 62.75 MB / 0.7294 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.0002367/9.143, allocations: 127 kB / 4.04 GB, free: 62.64 MB / 0.7294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005292/9.143, allocations: 100.8 kB / 4.04 GB, free: 62.59 MB / 0.7294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009445/9.144, allocations: 331.7 kB / 4.04 GB, free: 62.5 MB / 0.7294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.552e-05/9.144, allocations: 9.375 kB / 4.04 GB, free: 62.5 MB / 0.7294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.937e-06/9.144, allocations: 3.594 kB / 4.04 GB, free: 62.5 MB / 0.7294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.202e-05/9.144, allocations: 5.234 kB / 4.04 GB, free: 62.5 MB / 0.7294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004537/9.149, allocations: 2.389 MB / 4.042 GB, free: 60.8 MB / 0.7294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-05/9.149, allocations: 9.203 kB / 4.042 GB, free: 60.8 MB / 0.7294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003444/9.149, allocations: 72.47 kB / 4.043 GB, free: 60.79 MB / 0.7294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001885/9.149, allocations: 67.66 kB / 4.043 GB, free: 60.75 MB / 0.7294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.63e-05/9.149, allocations: 11 kB / 4.043 GB, free: 60.74 MB / 0.7294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000971/9.15, allocations: 2.311 MB / 4.045 GB, free: 58.45 MB / 0.7294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.187e-06/9.15, allocations: 8.594 kB / 4.045 GB, free: 58.45 MB / 0.7294 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009793/9.151, allocations: 0.9424 MB / 4.046 GB, free: 57.53 MB / 0.7294 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002172/9.153, allocations: 1.549 MB / 4.047 GB, free: 56.02 MB / 0.7294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000674/9.154, allocations: 213.5 kB / 4.047 GB, free: 55.83 MB / 0.7294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002954/9.154, allocations: 14.36 kB / 4.047 GB, free: 55.82 MB / 0.7294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009165/9.155, allocations: 57.33 kB / 4.048 GB, free: 55.81 MB / 0.7294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.836e-05/9.155, allocations: 35.06 kB / 4.048 GB, free: 55.79 MB / 0.7294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.629e-05/9.155, allocations: 23.58 kB / 4.048 GB, free: 55.78 MB / 0.7294 GB Notification: Performance of sort global known variables: time 0.001043/9.157, allocations: 0.5013 MB / 4.048 GB, free: 55.49 MB / 0.7294 GB Notification: Performance of remove unused functions: time 0.006718/9.163, allocations: 1.662 MB / 4.05 GB, free: 54.29 MB / 0.7294 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.006462/9.17, allocations: 3.942 MB / 4.054 GB, free: 51.2 MB / 0.7294 GB Notification: Performance of simCode: created initialization part: time 0.001752/9.172, allocations: 0.6628 MB / 4.054 GB, free: 50.52 MB / 0.7294 GB Notification: Performance of simCode: created event and clocks part: time 1.219e-05/9.172, allocations: 7.734 kB / 4.054 GB, free: 50.51 MB / 0.7294 GB Notification: Performance of simCode: created simulation system equations: time 0.0004662/9.172, allocations: 175.5 kB / 4.054 GB, free: 50.34 MB / 0.7294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002448/9.175, allocations: 423.1 kB / 4.055 GB, free: 49.93 MB / 0.7294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00308/9.178, allocations: 1.308 MB / 4.056 GB, free: 48.53 MB / 0.7294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008986/9.179, allocations: 1.22 MB / 4.057 GB, free: 47.29 MB / 0.7294 GB Notification: Performance of SimCode: time 4.21e-07/9.179, allocations: 0 / 4.057 GB, free: 47.29 MB / 0.7294 GB (rm -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicit.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicit.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicit.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicit.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PressureDropsExplicit_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PressureDropsExplicit.fmu > BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicit.pipe 2>&1)