Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.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.OnePhase.Conversion.Examples.ACACTransformerFull,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACTransformerFull",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACTransformerFull",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.782/1.782, allocations: 390.4 MB / 397.7 MB, free: 11.25 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.0009406/0.0009406, allocations: 190.3 kB / 490.8 MB, free: 1.906 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.109/1.109, allocations: 221.3 MB / 0.7863 GB, free: 13.66 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008283/0.0008283, allocations: 86.61 kB / 0.9264 GB, free: 14.18 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.3952/0.3961, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1696/0.5657, allocations: 143 MB / 1.212 GB, free: 40 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4847/1.05, allocations: 191.5 MB / 1.399 GB, free: 9.969 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001979/1.051, allocations: 91.19 kB / 1.399 GB, free: 9.918 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 184 * Number of variables: 184 Notification: Performance of Generate backend data structure: time 0.1079/1.159, allocations: 49.95 MB / 1.448 GB, free: 15.61 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.2e-05/1.159, allocations: 8 kB / 1.448 GB, free: 15.6 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009023/1.168, allocations: 1.254 MB / 1.449 GB, free: 14.35 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001043/1.169, allocations: 0.6224 MB / 1.449 GB, free: 13.78 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.521e-05/1.169, allocations: 23.98 kB / 1.449 GB, free: 13.76 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000156/1.169, allocations: 32 kB / 1.449 GB, free: 13.73 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002051/1.171, allocations: 1.344 MB / 1.451 GB, free: 12.77 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001885/1.173, allocations: 1.381 MB / 1.452 GB, free: 11.65 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.825e-05/1.173, allocations: 11.83 kB / 1.452 GB, free: 11.64 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001088/1.173, allocations: 4 kB / 1.452 GB, free: 11.63 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002874/1.173, allocations: 135.6 kB / 1.452 GB, free: 11.51 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008966/1.182, allocations: 6.555 MB / 1.459 GB, free: 5.574 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00103/1.183, allocations: 0.8317 MB / 1.459 GB, free: 4.984 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007163/1.184, allocations: 0.5717 MB / 1.46 GB, free: 4.602 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001923/1.186, allocations: 1.494 MB / 1.462 GB, free: 3.293 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.344e-05/1.186, allocations: 41.44 kB / 1.462 GB, free: 3.25 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=73): time 2.204e-06/1.186, allocations: 0 / 1.462 GB, free: 3.25 MB / 0.8698 GB Notification: Performance of matching and sorting (n=107): time 0.01043/1.196, allocations: 4.18 MB / 1.466 GB, free: 15.96 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.903e-05/1.196, allocations: 93.59 kB / 1.466 GB, free: 15.85 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004948/1.197, allocations: 479.5 kB / 1.466 GB, free: 15.48 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 8.807e-05/1.197, allocations: 25.7 kB / 1.466 GB, free: 15.45 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001845/1.197, allocations: 356.6 kB / 1.467 GB, free: 15.12 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002812/1.198, allocations: 354.2 kB / 1.467 GB, free: 14.82 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.861e-05/1.198, allocations: 0 / 1.467 GB, free: 14.82 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.000147/1.198, allocations: 392.3 kB / 1.467 GB, free: 14.46 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00101/1.199, allocations: 0.7565 MB / 1.468 GB, free: 13.97 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001222/1.2, allocations: 1.085 MB / 1.469 GB, free: 13.04 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00184/1.202, allocations: 1.019 MB / 1.47 GB, free: 12.32 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/1.202, allocations: 4 kB / 1.47 GB, free: 12.32 MB / 0.8855 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.006612/1.208, allocations: 2.919 MB / 1.473 GB, free: 10.06 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.001239/1.21, allocations: 3.923 MB / 1.477 GB, free: 5.902 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.402e-05/1.21, allocations: 15.94 kB / 1.477 GB, free: 5.887 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003828/1.214, allocations: 0.9539 MB / 1.478 GB, free: 5.074 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001993/1.216, allocations: 393 kB / 1.478 GB, free: 4.699 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01034/1.226, allocations: 8.376 MB / 1.486 GB, free: 13.36 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001964/1.228, allocations: 211.6 kB / 1.486 GB, free: 13.15 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000161/1.228, allocations: 64.5 kB / 1.486 GB, free: 13.1 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 6.743e-06/1.228, allocations: 7.938 kB / 1.486 GB, free: 13.09 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004531/1.233, allocations: 2.336 MB / 1.489 GB, free: 11.33 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.258e-05/1.233, allocations: 12 kB / 1.489 GB, free: 11.32 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001697/1.234, allocations: 0.5611 MB / 1.489 GB, free: 10.84 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002112/1.237, allocations: 415.4 kB / 1.49 GB, free: 10.44 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008526/1.245, allocations: 8.091 MB / 1.498 GB, free: 1.891 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001808/1.247, allocations: 199.7 kB / 1.498 GB, free: 1.695 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001534/1.247, allocations: 59.97 kB / 1.498 GB, free: 1.637 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 118 * 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: 3 {(2,100.0%) 8,(2,100.0%) 8,(3,100.0%) 9} * Non-linear torn systems: 1 {3 9} Notification: Performance of prepare postOptimizeDAE: time 0.0002801/1.247, allocations: 132.6 kB / 1.498 GB, free: 1.5 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001951/1.248, allocations: 90.95 kB / 1.498 GB, free: 1.41 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007344/1.255, allocations: 2.999 MB / 1.501 GB, free: 14.38 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.099e-05/1.255, allocations: 12 kB / 1.501 GB, free: 14.37 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/1.255, allocations: 4 kB / 1.501 GB, free: 14.37 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.007e-05/1.255, allocations: 7.984 kB / 1.501 GB, free: 14.36 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009009/1.264, allocations: 4.56 MB / 1.506 GB, free: 9.672 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.234e-06/1.264, allocations: 4 kB / 1.506 GB, free: 9.668 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001652/1.266, allocations: 296.2 kB / 1.506 GB, free: 9.379 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003894/1.27, allocations: 1.034 MB / 1.507 GB, free: 8.332 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000115/1.27, allocations: 19.97 kB / 1.507 GB, free: 8.312 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01229/1.282, allocations: 9.706 MB / 1.516 GB, free: 14.14 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.702e-06/1.282, allocations: 7.938 kB / 1.516 GB, free: 14.13 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006316/1.288, allocations: 3.112 MB / 1.519 GB, free: 10.78 MB / 0.9323 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.006339/1.295, allocations: 3.525 MB / 1.523 GB, free: 7.004 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005753/1.295, allocations: 339.9 kB / 1.523 GB, free: 6.652 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001915/1.295, allocations: 12.55 kB / 1.523 GB, free: 6.641 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001963/1.297, allocations: 231.6 kB / 1.523 GB, free: 6.414 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001523/1.298, allocations: 68.2 kB / 1.523 GB, free: 6.348 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001306/1.298, allocations: 47.97 kB / 1.523 GB, free: 6.301 MB / 0.9323 GB Notification: Performance of sort global known variables: time 0.0004179/1.298, allocations: 362.9 kB / 1.524 GB, free: 5.945 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.002983/1.301, allocations: 0.5077 MB / 1.524 GB, free: 5.438 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (68): * Single equations (assignments): 64 * 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: 3 {(3,100.0%) 9,(2,100.0%) 8,(2,100.0%) 8} * Non-linear torn systems: 1 {3 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002355/1.301, allocations: 135.6 kB / 1.524 GB, free: 5.297 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.006915/1.308, allocations: 3.901 MB / 1.528 GB, free: 1.328 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/1.308, allocations: 4.062 kB / 1.528 GB, free: 1.324 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.002857/1.311, allocations: 1.536 MB / 1.53 GB, free: 15.74 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000686/1.312, allocations: 102 kB / 1.53 GB, free: 15.64 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008784/1.321, allocations: 2.644 MB / 1.532 GB, free: 12.9 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001075/1.322, allocations: 1.185 MB / 1.534 GB, free: 11.69 MB / 0.948 GB Notification: Performance of SimCode: time 5.31e-07/1.322, allocations: 0 / 1.534 GB, free: 11.69 MB / 0.948 GB (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACTransformerFull_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACTransformerFull.fmu > Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull_res.mat does not exist to compare? outputFormat=mat