Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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) 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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_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 10.0.0-master/package.mo): time 1.776/1.776, allocations: 390.4 MB / 397.7 MB, free: 10.68 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00101/0.00101, allocations: 188.6 kB / 490.8 MB, free: 11.23 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.089/1.089, allocations: 221.4 MB / 0.7863 GB, free: 13.6 MB / 0.5886 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008574/0.0008575, allocations: 89.67 kB / 0.9264 GB, free: 4.59 MB / 0.6667 GB Notification: Performance of FrontEnd - loaded program: time 0.2313/0.2322, allocations: 149.1 MB / 1.072 GB, free: 15.51 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4963/0.7285, allocations: 143 MB / 1.212 GB, free: 155.8 MB / 0.8855 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1644/0.893, allocations: 197.7 MB / 1.405 GB, free: 9.812 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002452/0.8933, allocations: 95.92 kB / 1.405 GB, free: 9.719 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1668 * Number of variables: 1668 Notification: Performance of Generate backend data structure: time 1.087/1.98, allocations: 388.1 MB / 1.784 GB, free: 71.97 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 2.975e-05/1.98, allocations: 12 kB / 1.784 GB, free: 71.96 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01205/1.992, allocations: 1.677 MB / 1.786 GB, free: 70.27 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01105/2.003, allocations: 5.035 MB / 1.79 GB, free: 65.16 MB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002008/2.003, allocations: 199.9 kB / 1.791 GB, free: 64.96 MB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001691/2.005, allocations: 363.8 kB / 1.791 GB, free: 64.61 MB / 1.026 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01126/2.016, allocations: 7.065 MB / 1.798 GB, free: 57.53 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01529/2.032, allocations: 9.197 MB / 1.807 GB, free: 47.85 MB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001815/2.032, allocations: 31.7 kB / 1.807 GB, free: 47.82 MB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001131/2.033, allocations: 15.91 kB / 1.807 GB, free: 47.8 MB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002808/2.033, allocations: 396.1 kB / 1.807 GB, free: 47.41 MB / 1.026 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04447/2.078, allocations: 45.34 MB / 1.852 GB, free: 14.36 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005063/2.083, allocations: 3.72 MB / 1.855 GB, free: 10.64 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004749/2.088, allocations: 3.489 MB / 1.859 GB, free: 7.145 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002898/2.088, allocations: 34.78 kB / 1.859 GB, free: 7.109 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.574e-05/2.088, allocations: 73.28 kB / 1.859 GB, free: 7.027 MB / 1.042 GB Notification: Performance of pre-optimization done (n=353): time 5.09e-06/2.088, allocations: 0 / 1.859 GB, free: 7.027 MB / 1.042 GB Notification: Performance of matching and sorting (n=578): time 0.0944/2.183, allocations: 38.09 MB / 1.896 GB, free: 0.5117 MB / 1.073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.945e-05/2.183, allocations: 111.9 kB / 1.896 GB, free: 396 kB / 1.073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002852/2.185, allocations: 1.829 MB / 1.898 GB, free: 14.55 MB / 1.089 GB Notification: Performance of collectPreVariables (initialization): time 0.0003661/2.186, allocations: 25.7 kB / 1.898 GB, free: 14.52 MB / 1.089 GB Notification: Performance of collectInitialEqns (initialization): time 0.001172/2.187, allocations: 2.181 MB / 1.9 GB, free: 12.31 MB / 1.089 GB Notification: Performance of collectInitialBindings (initialization): time 0.001546/2.189, allocations: 1.874 MB / 1.902 GB, free: 10.41 MB / 1.089 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003717/2.189, allocations: 0 / 1.902 GB, free: 10.41 MB / 1.089 GB Notification: Performance of setup shared object (initialization): time 0.0003308/2.189, allocations: 0.5297 MB / 1.902 GB, free: 9.871 MB / 1.089 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004965/2.194, allocations: 3.752 MB / 1.906 GB, free: 6.113 MB / 1.089 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005764/2.2, allocations: 4.837 MB / 1.911 GB, free: 0.8477 MB / 1.089 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006175/2.206, allocations: 4.59 MB / 1.915 GB, free: 12.22 MB / 1.104 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.778e-05/2.206, allocations: 11.91 kB / 1.915 GB, free: 12.21 MB / 1.104 GB Notification: Performance of matching and sorting (n=725) (initialization): time 0.03361/2.24, allocations: 15.5 MB / 1.93 GB, free: 12.59 MB / 1.12 GB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/2.24, allocations: 4 kB / 1.93 GB, free: 12.59 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.734e-05/2.24, allocations: 32 kB / 1.93 GB, free: 12.55 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02479/2.265, allocations: 7.413 MB / 1.938 GB, free: 5.105 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002287/2.267, allocations: 0.5381 MB / 1.938 GB, free: 4.566 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.375/2.642, allocations: 61.18 MB / 1.998 GB, free: 320.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00424/2.646, allocations: 92.66 kB / 1.998 GB, free: 320.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005532/2.647, allocations: 204.8 kB / 1.998 GB, free: 320.5 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 137 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (286): * Single equations (assignments): 275 * 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: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 11 {(5,84.0%) 17,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(6,77.8%) 40,(6,77.8%) 72,(14,57.1%) 72,(14,51.0%) 72,(8,70.3%) 70,(6,77.8%) 40} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008281/2.648, allocations: 183 kB / 1.998 GB, free: 320.4 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006383/2.648, allocations: 454.8 kB / 1.999 GB, free: 320.4 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03111/2.679, allocations: 15.49 MB / 2.014 GB, free: 320 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.335e-05/2.68, allocations: 54.44 kB / 2.014 GB, free: 320 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.809e-05/2.68, allocations: 73 kB / 2.014 GB, free: 320 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.129e-05/2.68, allocations: 27.33 kB / 2.014 GB, free: 320 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03845/2.718, allocations: 22.61 MB / 2.036 GB, free: 319.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.752e-05/2.718, allocations: 6.531 kB / 2.036 GB, free: 319.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001624/2.72, allocations: 303.9 kB / 2.036 GB, free: 319.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01989/2.74, allocations: 6.773 MB / 2.043 GB, free: 319 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004645/2.74, allocations: 13.94 kB / 2.043 GB, free: 319 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06683/2.807, allocations: 58.12 MB / 2.1 GB, free: 303 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.076e-05/2.807, allocations: 11.56 kB / 2.1 GB, free: 303 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0341/2.841, allocations: 20.71 MB / 2.12 GB, free: 294.3 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.03715/2.878, allocations: 27.17 MB / 2.147 GB, free: 282.5 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00235/2.881, allocations: 1.237 MB / 2.148 GB, free: 281.8 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007799/2.882, allocations: 14.88 kB / 2.148 GB, free: 281.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002464/2.884, allocations: 89.23 kB / 2.148 GB, free: 281.8 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005786/2.885, allocations: 283.8 kB / 2.148 GB, free: 281.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004194/2.885, allocations: 139 kB / 2.148 GB, free: 281.7 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.001619/2.887, allocations: 1.346 MB / 2.15 GB, free: 281.2 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.00578/2.892, allocations: 1.862 MB / 2.151 GB, free: 281.2 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 8 (RLCLine_sc.phase1.Vc[1],RLCLine_sc.phase1.Vc[2],RLCLine_sc.phase2.Vc[1],RLCLine_sc.phase2.Vc[2],RLCLine_sc.phase3.Vc[1],RLCLine_sc.phase3.Vc[2],RLCLine_sc.neutral.Vc[1],RLCLine_sc.neutral.Vc[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (142): * Single equations (assignments): 131 * 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: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 11 {(6,77.8%) 40,(7,71.4%) 71,(14,57.1%) 72,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(5,84.0%) 17,(6,77.8%) 40,(8,70.3%) 70,(14,51.0%) 72} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004726/2.893, allocations: 141.5 kB / 2.152 GB, free: 281.1 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.01854/2.912, allocations: 12.4 MB / 2.164 GB, free: 275.8 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/2.912, allocations: 0 / 2.164 GB, free: 275.8 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.01342/2.925, allocations: 7.73 MB / 2.171 GB, free: 272.4 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00405/2.929, allocations: 0.9481 MB / 2.172 GB, free: 272.2 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02071/2.95, allocations: 13.28 MB / 2.185 GB, free: 267.2 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00458/2.954, allocations: 4.857 MB / 2.19 GB, free: 265.6 MB / 1.151 GB Notification: Performance of SimCode: time 4.91e-07/2.954, allocations: 0 / 2.19 GB, free: 265.6 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N_res.mat does not exist to compare? outputFormat=mat