Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetworkDelayed_3_Scalar.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/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/ScalableTestSuite 2.2.0-master/package.mo", uses=false) Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-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) Running command: "" <> buildModelFMU(ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetworkDelayed_3_Scalar,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_BreakerCircuits_Verification_BreakerNetworkDelayed_3_Scalar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetworkDelayed_3_Scalar,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_BreakerCircuits_Verification_BreakerNetworkDelayed_3_Scalar",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:33: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.0009342/0.0009342, allocations: 185.7 kB / 8.133 MB, free: 2.051 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.033/1.033, allocations: 221.4 MB / 229.9 MB, free: 3.07 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008568/0.0008568, allocations: 98.23 kB / 280.8 MB, free: 1.238 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.5988/0.5988, allocations: 120.4 MB / 452 MB, free: 12.99 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 0.3057/0.9045, allocations: 88.95 MB / 0.5283 GB, free: 52.34 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1025/1.007, allocations: 82.85 MB / 0.6092 GB, free: 3.465 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4248/1.432, allocations: 127.6 MB / 0.7338 GB, free: 2.641 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001115/1.432, allocations: 47.8 kB / 0.7339 GB, free: 2.621 MB / 0.4953 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 77 * Number of variables: 77 Notification: Performance of Generate backend data structure: time 0.01274/1.445, allocations: 5.933 MB / 0.7397 GB, free: 13.49 MB / 0.5109 GB Notification: Performance of prepare preOptimizeDAE: time 3.169e-05/1.445, allocations: 8 kB / 0.7397 GB, free: 13.48 MB / 0.5109 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.149e-05/1.445, allocations: 43.53 kB / 0.7397 GB, free: 13.44 MB / 0.5109 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002736/1.445, allocations: 279.2 kB / 0.74 GB, free: 13.15 MB / 0.5109 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.977e-05/1.445, allocations: 12 kB / 0.74 GB, free: 13.14 MB / 0.5109 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.89e-05/1.445, allocations: 20 kB / 0.74 GB, free: 13.12 MB / 0.5109 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002771/1.446, allocations: 170.9 kB / 0.7402 GB, free: 13.02 MB / 0.5109 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003555/1.446, allocations: 230.6 kB / 0.7404 GB, free: 12.84 MB / 0.5109 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/1.446, allocations: 0 / 0.7404 GB, free: 12.84 MB / 0.5109 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.932e-05/1.446, allocations: 6.953 kB / 0.7404 GB, free: 12.83 MB / 0.5109 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.047e-06/1.446, allocations: 8 kB / 0.7404 GB, free: 12.82 MB / 0.5109 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001476/1.447, allocations: 1.054 MB / 0.7414 GB, free: 11.88 MB / 0.5109 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00021/1.448, allocations: 174.4 kB / 0.7416 GB, free: 11.76 MB / 0.5109 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001498/1.448, allocations: 131.2 kB / 0.7417 GB, free: 11.68 MB / 0.5109 GB Notification: Performance of preOpt evalFunc (simulation): time 1.265e-05/1.448, allocations: 240 / 0.7417 GB, free: 11.68 MB / 0.5109 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003116/1.448, allocations: 404.1 kB / 0.7421 GB, free: 11.27 MB / 0.5109 GB Notification: Performance of pre-optimization done (n=42): time 1.332e-06/1.448, allocations: 0 / 0.7421 GB, free: 11.27 MB / 0.5109 GB Notification: Performance of matching and sorting (n=42): time 0.0005381/1.449, allocations: 317.3 kB / 0.7424 GB, free: 11.02 MB / 0.5109 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001273/1.449, allocations: 413.6 kB / 0.7428 GB, free: 10.53 MB / 0.5109 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001414/1.449, allocations: 185.2 kB / 0.743 GB, free: 10.37 MB / 0.5109 GB Notification: Performance of collectPreVariables (initialization): time 3.17e-05/1.449, allocations: 33.69 kB / 0.743 GB, free: 10.33 MB / 0.5109 GB Notification: Performance of collectInitialEqns (initialization): time 6.715e-05/1.449, allocations: 165.6 kB / 0.7432 GB, free: 10.18 MB / 0.5109 GB Notification: Performance of collectInitialBindings (initialization): time 6.792e-05/1.449, allocations: 109.7 kB / 0.7433 GB, free: 10.09 MB / 0.5109 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.341e-05/1.449, allocations: 0 / 0.7433 GB, free: 10.09 MB / 0.5109 GB Notification: Performance of setup shared object (initialization): time 8.601e-05/1.449, allocations: 339.8 kB / 0.7436 GB, free: 9.762 MB / 0.5109 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001318/1.449, allocations: 98.25 kB / 0.7437 GB, free: 9.703 MB / 0.5109 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001759/1.45, allocations: 178.8 kB / 0.7439 GB, free: 9.551 MB / 0.5109 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001445/1.45, allocations: 108.5 kB / 0.744 GB, free: 9.484 MB / 0.5109 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/1.45, allocations: 0 / 0.744 GB, free: 9.484 MB / 0.5109 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0005468/1.45, allocations: 398.1 kB / 0.7443 GB, free: 9.164 MB / 0.5109 GB Notification: Performance of prepare postOptimizeDAE: time 8.676e-06/1.45, allocations: 4 kB / 0.7443 GB, free: 9.16 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/1.45, allocations: 0 / 0.7443 GB, free: 9.16 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002313/1.451, allocations: 73.88 kB / 0.7444 GB, free: 9.098 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001781/1.451, allocations: 42.92 kB / 0.7445 GB, free: 9.059 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001421/1.452, allocations: 1.676 MB / 0.7461 GB, free: 7.449 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002835/1.453, allocations: 63.88 kB / 0.7462 GB, free: 7.387 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.374e-05/1.453, allocations: 19.73 kB / 0.7462 GB, free: 7.371 MB / 0.5109 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 36 ($whenCondition11,$PRE.B1.open,B1.open,$whenCondition9,$PRE.B2.open,B2.open,$whenCondition7,$PRE.B3.open,B3.open,$whenCondition12,$whenCondition10,$whenCondition8,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$PRE.B1.triggered,B1.triggered,$PRE.B1.G,B1.G,$PRE.B1.timeClose,B1.timeClose,$PRE.B2.triggered,B2.triggered,$PRE.B2.G,B2.G,$PRE.B2.timeClose,B2.timeClose,$PRE.B3.triggered,B3.triggered,$PRE.B3.G,B3.G,$PRE.B3.timeClose,B3.timeClose) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 3 * 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: 1 {(2,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001377/1.453, allocations: 216.3 kB / 0.7464 GB, free: 7.141 MB / 0.5109 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.869e-05/1.453, allocations: 39.81 kB / 0.7464 GB, free: 7.102 MB / 0.5109 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.462e-05/1.453, allocations: 37.02 kB / 0.7465 GB, free: 7.082 MB / 0.5109 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/1.453, allocations: 7.984 kB / 0.7465 GB, free: 7.074 MB / 0.5109 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.942e-06/1.453, allocations: 4 kB / 0.7465 GB, free: 7.07 MB / 0.5109 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/1.453, allocations: 0 / 0.7465 GB, free: 7.07 MB / 0.5109 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000259/1.453, allocations: 338.7 kB / 0.7468 GB, free: 6.762 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/1.453, allocations: 0 / 0.7468 GB, free: 6.762 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001041/1.453, allocations: 23.48 kB / 0.7468 GB, free: 6.742 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001853/1.453, allocations: 81.83 kB / 0.7469 GB, free: 6.672 MB / 0.5109 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.418e-05/1.453, allocations: 7.25 kB / 0.7469 GB, free: 6.668 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001322/1.455, allocations: 1.665 MB / 0.7485 GB, free: 5.074 MB / 0.5109 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/1.455, allocations: 0 / 0.7485 GB, free: 5.074 MB / 0.5109 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006819/1.455, allocations: 0.5192 MB / 0.749 GB, free: 4.68 MB / 0.5109 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008949/1.456, allocations: 1.011 MB / 0.75 GB, free: 3.852 MB / 0.5109 GB Notification: Performance of postOpt removeConstants (simulation): time 5.618e-05/1.456, allocations: 100.8 kB / 0.7501 GB, free: 3.734 MB / 0.5109 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.695e-05/1.457, allocations: 15.61 kB / 0.7501 GB, free: 3.723 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000272/1.457, allocations: 60.02 kB / 0.7502 GB, free: 3.664 MB / 0.5109 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.237e-05/1.457, allocations: 36.61 kB / 0.7502 GB, free: 3.637 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.435e-05/1.457, allocations: 18.92 kB / 0.7502 GB, free: 3.621 MB / 0.5109 GB Notification: Performance of sort global known variables: time 9.421e-05/1.457, allocations: 148.4 kB / 0.7504 GB, free: 3.5 MB / 0.5109 GB Notification: Performance of remove unused functions: time 0.0008478/1.458, allocations: 119.8 kB / 0.7505 GB, free: 3.383 MB / 0.5109 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (firstOrder.y) * Number of discrete variables: 24 ($whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,B1.open,B1.triggered,B1.G,B1.timeClose,B2.open,B2.triggered,B2.G,B2.timeClose,B3.open,B3.triggered,B3.G,B3.timeClose) * Number of discrete states: 15 (B1.timeClose,B1.triggered,$whenCondition2,$whenCondition1,B2.timeClose,B2.triggered,$whenCondition4,$whenCondition3,B3.timeClose,B3.triggered,$whenCondition6,$whenCondition5,B3.open,B2.open,B1.open) * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 6 * 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: 1 {(2,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002453/1.458, allocations: 153 kB / 0.7506 GB, free: 3.234 MB / 0.5109 GB Notification: Performance of simCode: created initialization part: time 0.0006082/1.459, allocations: 495.2 kB / 0.7511 GB, free: 2.816 MB / 0.5109 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/1.459, allocations: 4.062 kB / 0.7511 GB, free: 2.812 MB / 0.5109 GB Notification: Performance of simCode: created simulation system equations: time 0.0004058/1.459, allocations: 417.2 kB / 0.7515 GB, free: 2.457 MB / 0.5109 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002031/1.459, allocations: 42.55 kB / 0.7516 GB, free: 2.426 MB / 0.5109 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006302/1.46, allocations: 407.5 kB / 0.7519 GB, free: 2.051 MB / 0.5109 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000308/1.46, allocations: 0.8185 MB / 0.7527 GB, free: 1.207 MB / 0.5109 GB Notification: Performance of SimCode: time 2.6e-07/1.46, allocations: 0 / 0.7527 GB, free: 1.207 MB / 0.5109 GB (rm -f ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetworkDelayed_3_Scalar.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetworkDelayed_3_Scalar.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetworkDelayed_3_Scalar.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetworkDelayed_3_Scalar.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetworkDelayed_3_Scalar_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Electrical_BreakerCircuits_Verification_BreakerNetworkDelayed_3_Scalar_fmu --startTime=0 --stopTime=2 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Electrical_BreakerCircuits_Verification_BreakerNetworkDelayed_3_Scalar.fmu > ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetworkDelayed_3_Scalar.pipe 2>&1)