Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.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.PressureDropsExplicitLinearized,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized",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.7564/0.7564, allocations: 141.8 MB / 149.1 MB, free: 0.7773 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.001164/0.001164, allocations: 183.2 kB / 182 MB, free: 12.95 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.345/1.345, allocations: 221.3 MB / 436 MB, free: 5.758 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.0009699/0.0009699, allocations: 100.1 kB / 0.507 GB, free: 19.12 MB / 378.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001934/0.001934, allocations: 273.6 kB / 0.5885 GB, free: 6.895 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 0.4328/0.4347, allocations: 89.64 MB / 0.676 GB, free: 139.9 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1589/0.5936, allocations: 82.77 MB / 0.7568 GB, free: 88.86 MB / 0.5107 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.628/4.222, allocations: 1.832 GB / 2.589 GB, free: 187.5 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002034/4.222, allocations: 86.75 kB / 2.589 GB, free: 187.4 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 7.026/11.25, allocations: 2.093 GB / 4.682 GB, free: 66.44 MB / 0.7294 GB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/11.25, allocations: 6.5 kB / 4.682 GB, free: 66.44 MB / 0.7294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009505/11.25, allocations: 209.3 kB / 4.683 GB, free: 66.36 MB / 0.7294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00198/11.25, allocations: 0.9466 MB / 4.684 GB, free: 66.06 MB / 0.7294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001026/11.25, allocations: 91.22 kB / 4.684 GB, free: 65.99 MB / 0.7294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.958e-05/11.25, allocations: 55 kB / 4.684 GB, free: 65.99 MB / 0.7294 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007211/11.25, allocations: 395.2 kB / 4.684 GB, free: 65.99 MB / 0.7294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009497/11.25, allocations: 0.7564 MB / 4.685 GB, free: 65.72 MB / 0.7294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.104e-05/11.25, allocations: 4.562 kB / 4.685 GB, free: 65.72 MB / 0.7294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.591e-05/11.25, allocations: 7.406 kB / 4.685 GB, free: 65.72 MB / 0.7294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.746e-05/11.25, allocations: 23.34 kB / 4.685 GB, free: 65.72 MB / 0.7294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003637/11.26, allocations: 4.646 MB / 4.689 GB, free: 62.41 MB / 0.7294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003682/11.26, allocations: 378.8 kB / 4.69 GB, free: 62.08 MB / 0.7294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002165/11.26, allocations: 236.3 kB / 4.69 GB, free: 61.97 MB / 0.7294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001772/11.26, allocations: 97.91 kB / 4.69 GB, free: 61.88 MB / 0.7294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.814e-05/11.26, allocations: 58.25 kB / 4.69 GB, free: 61.84 MB / 0.7294 GB Notification: Performance of pre-optimization done (n=31): time 2.935e-06/11.26, allocations: 0 / 4.69 GB, free: 61.84 MB / 0.7294 GB Notification: Performance of matching and sorting (n=31): time 0.001018/11.26, allocations: 386.8 kB / 4.69 GB, free: 61.73 MB / 0.7294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.987e-05/11.26, allocations: 400.4 kB / 4.691 GB, free: 61.27 MB / 0.7294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007016/11.26, allocations: 0.6627 MB / 4.692 GB, free: 61.13 MB / 0.7294 GB Notification: Performance of collectPreVariables (initialization): time 4.112e-05/11.26, allocations: 28.89 kB / 4.692 GB, free: 61.1 MB / 0.7294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001893/11.26, allocations: 386.8 kB / 4.692 GB, free: 60.92 MB / 0.7294 GB Notification: Performance of collectInitialBindings (initialization): time 5.987e-05/11.26, allocations: 105.5 kB / 4.692 GB, free: 60.87 MB / 0.7294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.043e-05/11.26, allocations: 0 / 4.692 GB, free: 60.87 MB / 0.7294 GB Notification: Performance of setup shared object (initialization): time 5.458e-05/11.26, allocations: 322.1 kB / 4.692 GB, free: 60.56 MB / 0.7294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001013/11.26, allocations: 75 kB / 4.692 GB, free: 60.56 MB / 0.7294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002392/11.26, allocations: 330.2 kB / 4.693 GB, free: 60.27 MB / 0.7294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001451/11.26, allocations: 126.9 kB / 4.693 GB, free: 60.26 MB / 0.7294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/11.26, allocations: 3.562 kB / 4.693 GB, free: 60.26 MB / 0.7294 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005199/11.26, allocations: 393.5 kB / 4.693 GB, free: 60.16 MB / 0.7294 GB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/11.26, allocations: 3.938 kB / 4.693 GB, free: 60.16 MB / 0.7294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/11.26, allocations: 3.875 kB / 4.693 GB, free: 60.16 MB / 0.7294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000227/11.26, allocations: 77.27 kB / 4.693 GB, free: 60.15 MB / 0.7294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002282/11.26, allocations: 59.19 kB / 4.693 GB, free: 60.15 MB / 0.7294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001739/11.26, allocations: 2.759 MB / 4.696 GB, free: 57.61 MB / 0.7294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006625/11.26, allocations: 68.3 kB / 4.696 GB, free: 57.6 MB / 0.7294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.562e-05/11.26, allocations: 29.89 kB / 4.696 GB, free: 57.6 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): 29 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001521/11.26, allocations: 123.2 kB / 4.696 GB, free: 57.49 MB / 0.7294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003491/11.26, allocations: 105 kB / 4.696 GB, free: 57.44 MB / 0.7294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001481/11.26, allocations: 93.44 kB / 4.696 GB, free: 57.43 MB / 0.7294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/11.26, allocations: 7.281 kB / 4.696 GB, free: 57.43 MB / 0.7294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.467e-06/11.26, allocations: 3.562 kB / 4.696 GB, free: 57.43 MB / 0.7294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.243e-06/11.26, allocations: 8.406 kB / 4.696 GB, free: 57.43 MB / 0.7294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002522/11.27, allocations: 2.347 MB / 4.699 GB, free: 55.98 MB / 0.7294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/11.27, allocations: 6.781 kB / 4.699 GB, free: 55.98 MB / 0.7294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001696/11.27, allocations: 57.16 kB / 4.699 GB, free: 55.98 MB / 0.7294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001639/11.27, allocations: 67.05 kB / 4.699 GB, free: 55.97 MB / 0.7294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.07e-05/11.27, allocations: 7.875 kB / 4.699 GB, free: 55.97 MB / 0.7294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001589/11.27, allocations: 2.768 MB / 4.702 GB, free: 53.43 MB / 0.7294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.432e-06/11.27, allocations: 7.531 kB / 4.702 GB, free: 53.43 MB / 0.7294 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006487/11.27, allocations: 0.8667 MB / 4.702 GB, free: 52.69 MB / 0.7294 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001331/11.27, allocations: 1.452 MB / 4.704 GB, free: 51.58 MB / 0.7294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002979/11.27, allocations: 204.7 kB / 4.704 GB, free: 51.43 MB / 0.7294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001113/11.27, allocations: 7.75 kB / 4.704 GB, free: 51.43 MB / 0.7294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006412/11.27, allocations: 60.16 kB / 4.704 GB, free: 51.43 MB / 0.7294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.861e-05/11.27, allocations: 31.61 kB / 4.704 GB, free: 51.43 MB / 0.7294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.648e-05/11.27, allocations: 18.88 kB / 4.704 GB, free: 51.43 MB / 0.7294 GB Notification: Performance of sort global known variables: time 0.0005466/11.27, allocations: 0.5086 MB / 4.705 GB, free: 51.32 MB / 0.7294 GB Notification: Performance of remove unused functions: time 0.003129/11.28, allocations: 0.9867 MB / 4.706 GB, free: 51.29 MB / 0.7294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * 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): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005158/11.28, allocations: 3.903 MB / 4.709 GB, free: 49.74 MB / 0.7294 GB Notification: Performance of simCode: created initialization part: time 0.0007909/11.28, allocations: 453.8 kB / 4.71 GB, free: 49.54 MB / 0.7294 GB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/11.28, allocations: 0 / 4.71 GB, free: 49.54 MB / 0.7294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003635/11.28, allocations: 351.1 kB / 4.71 GB, free: 49.34 MB / 0.7294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002224/11.28, allocations: 408.8 kB / 4.711 GB, free: 49.33 MB / 0.7294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002209/11.29, allocations: 1.292 MB / 4.712 GB, free: 48.77 MB / 0.7294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006357/11.29, allocations: 1.22 MB / 4.713 GB, free: 48.06 MB / 0.7294 GB Notification: Performance of SimCode: time 4.51e-07/11.29, allocations: 0 / 4.713 GB, free: 48.06 MB / 0.7294 GB (rm -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized.fmu > BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe 2>&1)