Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N",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 8.0.0/package.mo): time 2.118/2.118, allocations: 284.8 MB / 292.1 MB, free: 10.75 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001603/0.001602, allocations: 177.2 kB / 360.3 MB, free: 7.527 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.628/1.628, allocations: 205.1 MB / 0.6187 GB, free: 13.19 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001256/0.001255, allocations: 83.91 kB / 0.7317 GB, free: 45.1 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2478/0.2491, allocations: 121.4 MB / 0.8502 GB, free: 3.887 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5502/0.7993, allocations: 115.2 MB / 0.9628 GB, free: 78.44 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2514/1.051, allocations: 167.2 MB / 1.126 GB, free: 5.547 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003438/1.051, allocations: 92.55 kB / 1.126 GB, free: 5.457 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.2585/1.31, allocations: 63.57 MB / 1.188 GB, free: 5.57 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.928e-05/1.31, allocations: 16.5 kB / 1.188 GB, free: 5.555 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004875/1.315, allocations: 474.3 kB / 1.189 GB, free: 5.09 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003864/1.319, allocations: 1.294 MB / 1.19 GB, free: 3.75 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.444e-05/1.319, allocations: 48 kB / 1.19 GB, free: 3.703 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004576/1.319, allocations: 84 kB / 1.19 GB, free: 3.621 MB / 0.7917 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007352/1.326, allocations: 2.357 MB / 1.192 GB, free: 1.262 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008806/1.335, allocations: 2.958 MB / 1.195 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.621e-05/1.335, allocations: 1.312 kB / 1.195 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003183/1.336, allocations: 8 kB / 1.195 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001211/1.337, allocations: 187 kB / 1.195 GB, free: 13.99 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03986/1.377, allocations: 14.71 MB / 1.21 GB, free: 14.42 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004748/1.382, allocations: 1.733 MB / 1.212 GB, free: 12.68 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004074/1.386, allocations: 1.55 MB / 1.213 GB, free: 11.13 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 8.336e-05/1.386, allocations: 26.28 kB / 1.213 GB, free: 11.11 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.001e-05/1.386, allocations: 48 kB / 1.213 GB, free: 11.05 MB / 0.823 GB Notification: Performance of pre-optimization done (n=104): time 3.637e-06/1.386, allocations: 0 / 1.213 GB, free: 11.05 MB / 0.823 GB Notification: Performance of matching and sorting (n=183): time 0.08502/1.471, allocations: 14.15 MB / 1.227 GB, free: 12.88 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.068e-05/1.471, allocations: 69.41 kB / 1.227 GB, free: 12.8 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002526/1.474, allocations: 1.008 MB / 1.228 GB, free: 11.79 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0005814/1.474, allocations: 29.7 kB / 1.228 GB, free: 11.75 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.000564/1.475, allocations: 0.6585 MB / 1.229 GB, free: 11.08 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009601/1.476, allocations: 0.5965 MB / 1.229 GB, free: 10.47 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003871/1.476, allocations: 4 kB / 1.229 GB, free: 10.47 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002619/1.476, allocations: 381.9 kB / 1.23 GB, free: 10.09 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005744/1.482, allocations: 2.147 MB / 1.232 GB, free: 7.941 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00611/1.488, allocations: 2.47 MB / 1.234 GB, free: 5.359 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01107/1.499, allocations: 2.929 MB / 1.237 GB, free: 2.434 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.841e-05/1.499, allocations: 4 kB / 1.237 GB, free: 2.43 MB / 0.8386 GB Notification: Performance of matching and sorting (n=238) (initialization): time 0.03721/1.537, allocations: 8.775 MB / 1.246 GB, free: 9.629 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.516e-05/1.537, allocations: 8.781 kB / 1.246 GB, free: 9.621 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.01e-05/1.537, allocations: 8.562 kB / 1.246 GB, free: 9.613 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03039/1.567, allocations: 4.99 MB / 1.25 GB, free: 4.605 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0021/1.569, allocations: 248.2 kB / 1.251 GB, free: 4.363 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4432/2.013, allocations: 21.57 MB / 1.272 GB, free: 186.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003686/2.016, allocations: 72.41 kB / 1.272 GB, free: 186.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007027/2.017, allocations: 268.9 kB / 1.272 GB, free: 186.9 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (102): * Single equations (assignments): 98 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(8,100.0%) 16,(8,100.0%) 38} * Non-linear torn systems: 2 {8 16,8 38} Notification: Performance of prepare postOptimizeDAE: time 0.0007042/2.018, allocations: 122.7 kB / 1.272 GB, free: 186.8 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005857/2.018, allocations: 135.3 kB / 1.272 GB, free: 186.8 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02977/2.048, allocations: 8.345 MB / 1.28 GB, free: 186.6 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.035e-05/2.048, allocations: 17.94 kB / 1.28 GB, free: 186.6 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.554e-05/2.048, allocations: 19.36 kB / 1.28 GB, free: 186.6 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.921e-05/2.048, allocations: 7.828 kB / 1.28 GB, free: 186.6 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04032/2.089, allocations: 12.75 MB / 1.293 GB, free: 185.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.758e-05/2.089, allocations: 6.078 kB / 1.293 GB, free: 185.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009346/2.09, allocations: 114.8 kB / 1.293 GB, free: 185.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02708/2.117, allocations: 4.769 MB / 1.298 GB, free: 185.9 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000613/2.117, allocations: 66.84 kB / 1.298 GB, free: 185.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05797/2.175, allocations: 18.49 MB / 1.316 GB, free: 182.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.118e-05/2.175, allocations: 8.031 kB / 1.316 GB, free: 182.2 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02852/2.204, allocations: 7.899 MB / 1.324 GB, free: 181.4 MB / 0.8542 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02918/2.233, allocations: 8.308 MB / 1.332 GB, free: 179.6 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002653/2.236, allocations: 0.8226 MB / 1.332 GB, free: 179.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009103/2.237, allocations: 7.328 kB / 1.332 GB, free: 179.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00269/2.24, allocations: 47.17 kB / 1.333 GB, free: 179 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008916/2.24, allocations: 150.7 kB / 1.333 GB, free: 179 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005199/2.241, allocations: 187.8 kB / 1.333 GB, free: 178.8 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.00158/2.243, allocations: 0.7719 MB / 1.334 GB, free: 178.4 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.004617/2.247, allocations: 0.6662 MB / 1.334 GB, free: 177.7 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 62 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(8,100.0%) 8,(14,76.0%) 24} * Non-linear torn systems: 2 {8 16,8 38} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006778/2.248, allocations: 120.5 kB / 1.334 GB, free: 177.6 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.01557/2.264, allocations: 5.737 MB / 1.34 GB, free: 174.1 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 9.558e-06/2.264, allocations: 4 kB / 1.34 GB, free: 174.1 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0126/2.276, allocations: 3.371 MB / 1.343 GB, free: 171.9 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00205/2.278, allocations: 165.7 kB / 1.343 GB, free: 171.8 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01369/2.292, allocations: 4.374 MB / 1.348 GB, free: 168.6 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003065/2.295, allocations: 1.904 MB / 1.35 GB, free: 167 MB / 0.8542 GB Notification: Performance of SimCode: time 1.072e-06/2.295, allocations: 0 / 1.35 GB, free: 167 MB / 0.8542 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.fmu > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1)