Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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) 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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState,fileNamePrefix="Buildings_9_Buildings_Fluid_FixedResistances_Validation_FlowJunctionSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState,fileNamePrefix="Buildings_9_Buildings_Fluid_FixedResistances_Validation_FlowJunctionSteadyState",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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.197/2.197, allocations: 387.2 MB / 394.5 MB, free: 13.61 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001014/0.001014, allocations: 181.2 kB / 487 MB, free: 5.309 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.387/1.387, allocations: 221.3 MB / 0.7819 GB, free: 1.34 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001091/0.001091, allocations: 94.95 kB / 0.9213 GB, free: 2.582 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.6429/0.644, allocations: 148.5 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2844/0.9284, allocations: 142.3 MB / 1.205 GB, free: 26.11 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.592/5.52, allocations: 1.927 GB / 3.132 GB, free: 395.6 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002493/5.52, allocations: 83.95 kB / 3.133 GB, free: 395.5 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 2.092/7.613, allocations: 0.8025 GB / 3.935 GB, free: 12.39 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.678e-05/7.613, allocations: 8 kB / 3.935 GB, free: 12.38 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002511/7.615, allocations: 270.6 kB / 3.935 GB, free: 12.11 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002341/7.618, allocations: 0.8197 MB / 3.936 GB, free: 11.25 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.995e-05/7.618, allocations: 16 kB / 3.936 GB, free: 11.23 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001748/7.618, allocations: 32 kB / 3.936 GB, free: 11.2 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001041/7.619, allocations: 0.5721 MB / 3.937 GB, free: 10.63 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008964/7.62, allocations: 0.5392 MB / 3.937 GB, free: 10.09 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.638e-05/7.62, allocations: 7.938 kB / 3.937 GB, free: 10.08 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.867e-05/7.62, allocations: 0 / 3.937 GB, free: 10.08 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.322e-05/7.62, allocations: 12 kB / 3.937 GB, free: 10.07 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003882/7.624, allocations: 2.644 MB / 3.94 GB, free: 7.207 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007874/7.625, allocations: 483.6 kB / 3.94 GB, free: 6.727 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003645/7.625, allocations: 337.3 kB / 3.941 GB, free: 6.395 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006999/7.626, allocations: 0.6445 MB / 3.941 GB, free: 5.621 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.033e-05/7.626, allocations: 34.94 kB / 3.941 GB, free: 5.578 MB / 1.151 GB Notification: Performance of pre-optimization done (n=45): time 2.284e-06/7.626, allocations: 0 / 3.941 GB, free: 5.578 MB / 1.151 GB Notification: Performance of matching and sorting (n=45): time 0.002553/7.628, allocations: 0.9511 MB / 3.942 GB, free: 4.617 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.995e-05/7.628, allocations: 55.41 kB / 3.942 GB, free: 4.551 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000511/7.629, allocations: 467.8 kB / 3.943 GB, free: 4.09 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 6.391e-05/7.629, allocations: 33.64 kB / 3.943 GB, free: 4.051 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001115/7.629, allocations: 236.8 kB / 3.943 GB, free: 3.816 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001064/7.629, allocations: 153.7 kB / 3.943 GB, free: 3.664 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.04e-05/7.629, allocations: 0 / 3.943 GB, free: 3.664 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.669e-05/7.629, allocations: 378.8 kB / 3.943 GB, free: 3.285 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000281/7.63, allocations: 228.8 kB / 3.944 GB, free: 3.062 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003398/7.63, allocations: 347.8 kB / 3.944 GB, free: 2.684 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006165/7.631, allocations: 353 kB / 3.944 GB, free: 2.336 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/7.631, allocations: 8 kB / 3.944 GB, free: 2.328 MB / 1.151 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001352/7.632, allocations: 0.7955 MB / 3.945 GB, free: 1.523 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 7.638e-05/7.632, allocations: 276.7 kB / 3.945 GB, free: 1.234 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/7.632, allocations: 0 / 3.945 GB, free: 1.234 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001997/7.632, allocations: 56.83 kB / 3.945 GB, free: 1.176 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005196/7.633, allocations: 103.9 kB / 3.946 GB, free: 1.074 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004512/7.633, allocations: 0.646 MB / 3.946 GB, free: 412 kB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000816/7.634, allocations: 87.67 kB / 3.946 GB, free: 324 kB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.301e-05/7.634, allocations: 23.92 kB / 3.946 GB, free: 300 kB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 8.516e-06/7.634, allocations: 4 kB / 3.946 GB, free: 296 kB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.5386/8.173, allocations: 0.6658 MB / 3.947 GB, free: 353 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.281e-06/8.173, allocations: 0 / 3.947 GB, free: 353 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002531/8.173, allocations: 69.98 kB / 3.947 GB, free: 353 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000582/8.174, allocations: 94.14 kB / 3.947 GB, free: 353 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001645/8.175, allocations: 1.624 MB / 3.949 GB, free: 351.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009867/8.176, allocations: 77.88 kB / 3.949 GB, free: 351.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.4e-05/8.176, allocations: 21.95 kB / 3.949 GB, free: 351.8 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 42 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of prepare postOptimizeDAE: time 0.0001992/8.177, allocations: 119.1 kB / 3.949 GB, free: 351.7 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000139/8.177, allocations: 70.22 kB / 3.949 GB, free: 351.7 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001899/8.179, allocations: 0.8431 MB / 3.95 GB, free: 351.6 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/8.179, allocations: 9.031 kB / 3.95 GB, free: 351.6 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.914e-06/8.179, allocations: 0 / 3.95 GB, free: 351.6 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.544e-06/8.179, allocations: 3.516 kB / 3.95 GB, free: 351.6 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002963/8.182, allocations: 1.682 MB / 3.951 GB, free: 351.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.783e-06/8.182, allocations: 6.188 kB / 3.951 GB, free: 351.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005262/8.182, allocations: 90.2 kB / 3.952 GB, free: 351.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001407/8.182, allocations: 59.81 kB / 3.952 GB, free: 351.2 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.417e-05/8.182, allocations: 7.625 kB / 3.952 GB, free: 351.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003764/8.183, allocations: 0.6067 MB / 3.952 GB, free: 350.7 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.057e-06/8.183, allocations: 9.094 kB / 3.952 GB, free: 350.7 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001757/8.185, allocations: 1.302 MB / 3.953 GB, free: 350.2 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002682/8.187, allocations: 2.122 MB / 3.956 GB, free: 349.3 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004165/8.188, allocations: 209.9 kB / 3.956 GB, free: 349.2 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001142/8.188, allocations: 3.344 kB / 3.956 GB, free: 349.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008232/8.189, allocations: 88.61 kB / 3.956 GB, free: 349.2 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001175/8.189, allocations: 34.19 kB / 3.956 GB, free: 349.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.538e-05/8.189, allocations: 17.66 kB / 3.956 GB, free: 349.2 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0004534/8.189, allocations: 368.9 kB / 3.956 GB, free: 349.1 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.004102/8.193, allocations: 1.065 MB / 3.957 GB, free: 349.1 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 3 (senTem1.T,senTem2.T,senTem3.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 44 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.003591/8.197, allocations: 2.395 MB / 3.96 GB, free: 348.4 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001852/8.199, allocations: 0.9594 MB / 3.961 GB, free: 348.3 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 6.452e-06/8.199, allocations: 3.938 kB / 3.961 GB, free: 348.3 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0004773/8.199, allocations: 286.7 kB / 3.961 GB, free: 348.3 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002535/8.202, allocations: 450.9 kB / 3.961 GB, free: 348.3 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005752/8.208, allocations: 1.545 MB / 3.963 GB, free: 347.9 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007358/8.208, allocations: 1.064 MB / 3.964 GB, free: 347.2 MB / 1.151 GB Notification: Performance of SimCode: time 5.31e-07/8.208, allocations: 0 / 3.964 GB, free: 347.2 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe ; mkfifo Buildings_9_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe >> ../files/Buildings_9_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_FixedResistances_Validation_FlowJunctionSteadyState_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_FixedResistances_Validation_FlowJunctionSteadyState.fmu > Buildings_9_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe 2>&1)