Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff,fileNamePrefix="Buildings_8_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff,fileNamePrefix="Buildings_8_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.796/1.796, allocations: 292.6 MB / 307.5 MB, free: 5.234 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.001091/0.001091, allocations: 188.1 kB / 377.1 MB, free: 1.543 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.787/1.787, allocations: 205.4 MB / 0.6366 GB, free: 8.605 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.0009532/0.0009537, allocations: 83.97 kB / 0.7509 GB, free: 63.2 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003798/0.0003799, allocations: 8 kB / 0.8748 GB, free: 11.12 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.327/0.3274, allocations: 116.3 MB / 0.9884 GB, free: 6.668 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9933/1.321, allocations: 143 MB / 1.128 GB, free: 32.5 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002828/1.321, allocations: 83.77 kB / 1.128 GB, free: 32.43 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.03803/1.359, allocations: 13.29 MB / 1.141 GB, free: 23.4 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.875e-06/1.359, allocations: 3.938 kB / 1.141 GB, free: 23.39 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.412e-05/1.359, allocations: 4 kB / 1.141 GB, free: 23.39 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.001088/1.36, allocations: 0.5516 MB / 1.142 GB, free: 22.81 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.24e-05/1.361, allocations: 8.594 kB / 1.142 GB, free: 22.8 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.174e-05/1.361, allocations: 45.14 kB / 1.142 GB, free: 22.75 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001203/1.361, allocations: 28.7 kB / 1.142 GB, free: 22.73 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006282/1.361, allocations: 245.6 kB / 1.142 GB, free: 22.48 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.43e-05/1.361, allocations: 12.75 kB / 1.142 GB, free: 22.46 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.525e-05/1.361, allocations: 13.12 kB / 1.142 GB, free: 22.45 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002487/1.362, allocations: 113.5 kB / 1.142 GB, free: 22.35 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/1.362, allocations: 4 kB / 1.142 GB, free: 22.34 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.866e-05/1.362, allocations: 3.156 kB / 1.142 GB, free: 22.34 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/1.362, allocations: 4.703 kB / 1.142 GB, free: 22.34 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001279/1.362, allocations: 55.58 kB / 1.142 GB, free: 22.29 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001116/1.363, allocations: 0.5445 MB / 1.143 GB, free: 21.78 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001988/1.363, allocations: 98.22 kB / 1.143 GB, free: 21.67 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.669e-05/1.363, allocations: 12.19 kB / 1.143 GB, free: 21.66 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002559/1.364, allocations: 111.4 kB / 1.143 GB, free: 21.55 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=15): time 2.404e-06/1.364, allocations: 0 / 1.143 GB, free: 21.55 MB / 0.7292 GB Notification: Performance of matching and sorting (n=15): time 0.0004596/1.364, allocations: 166.8 kB / 1.143 GB, free: 21.39 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.082e-05/1.364, allocations: 89.94 kB / 1.143 GB, free: 21.29 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002378/1.364, allocations: 185.1 kB / 1.143 GB, free: 21.11 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 5.493e-05/1.364, allocations: 34.41 kB / 1.143 GB, free: 21.07 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 9.519e-05/1.365, allocations: 124.8 kB / 1.143 GB, free: 20.95 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.729e-05/1.365, allocations: 34.09 kB / 1.144 GB, free: 20.92 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.643e-06/1.365, allocations: 0 / 1.144 GB, free: 20.92 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.911e-05/1.365, allocations: 329.1 kB / 1.144 GB, free: 20.6 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.422e-05/1.365, allocations: 32.27 kB / 1.144 GB, free: 20.57 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000244/1.365, allocations: 138 kB / 1.144 GB, free: 20.42 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.424e-05/1.365, allocations: 42.64 kB / 1.144 GB, free: 20.38 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/1.365, allocations: 4 kB / 1.144 GB, free: 20.38 MB / 0.7292 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002746/1.365, allocations: 161 kB / 1.144 GB, free: 20.22 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.049e-05/1.365, allocations: 8.703 kB / 1.144 GB, free: 20.21 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/1.365, allocations: 0 / 1.144 GB, free: 20.21 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.901e-05/1.365, allocations: 4 kB / 1.144 GB, free: 20.21 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.445e-05/1.366, allocations: 18.3 kB / 1.144 GB, free: 20.2 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.234e-05/1.366, allocations: 12.55 kB / 1.144 GB, free: 20.18 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002363/1.366, allocations: 29.16 kB / 1.144 GB, free: 20.16 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.471e-05/1.366, allocations: 8.75 kB / 1.144 GB, free: 20.15 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 19 (plotConfiguration.active,$PRE.plotConfiguration.tActivateLast,plotConfiguration.tActivateLast,$whenCondition2,$whenCondition4,$whenCondition3,$whenCondition1,sca.active,$PRE.sca.tActivateLast,sca.tActivateLast,sca.sampleTrigger,scaDel.active,$PRE.scaDel.tActivateLast,scaDel.tActivateLast,scaDel.sampleTrigger,booPul.y,$PRE.booPul.pulseStart,booPul.pulseStart,plotConfiguration.activate_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 22 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001341/1.366, allocations: 134.4 kB / 1.144 GB, free: 20.02 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.159e-05/1.366, allocations: 20.52 kB / 1.144 GB, free: 20 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.925e-05/1.366, allocations: 23.69 kB / 1.144 GB, free: 19.98 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/1.366, allocations: 0 / 1.144 GB, free: 19.98 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.316e-06/1.366, allocations: 12.59 kB / 1.144 GB, free: 19.96 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.181e-06/1.366, allocations: 4.562 kB / 1.144 GB, free: 19.96 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006438/1.367, allocations: 453.9 kB / 1.145 GB, free: 19.52 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/1.367, allocations: 4.594 kB / 1.145 GB, free: 19.51 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.46e-05/1.367, allocations: 4.656 kB / 1.145 GB, free: 19.51 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/1.367, allocations: 4.562 kB / 1.145 GB, free: 19.5 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.461e-05/1.367, allocations: 8.562 kB / 1.145 GB, free: 19.5 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/1.367, allocations: 0 / 1.145 GB, free: 19.5 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.057e-06/1.367, allocations: 0.75 kB / 1.145 GB, free: 19.5 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002217/1.367, allocations: 250.5 kB / 1.145 GB, free: 19.24 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 6.257e-05/1.367, allocations: 94.75 kB / 1.145 GB, free: 19.13 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.144e-05/1.367, allocations: 13.86 kB / 1.145 GB, free: 19.12 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001406/1.367, allocations: 20.55 kB / 1.145 GB, free: 19.1 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.455e-05/1.367, allocations: 16.3 kB / 1.145 GB, free: 19.09 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.285e-05/1.367, allocations: 9.266 kB / 1.145 GB, free: 19.09 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001223/1.368, allocations: 136.3 kB / 1.145 GB, free: 18.96 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.21e-07/1.368, allocations: 0 / 1.145 GB, free: 18.96 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003644/1.368, allocations: 49.27 kB / 1.145 GB, free: 18.92 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 14 (sca.sampleTrigger,scaDel.sampleTrigger,booPul.y,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast,booPul.pulseStart,plotConfiguration.active,plotConfiguration.tActivateLast) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008994/1.369, allocations: 0.9189 MB / 1.146 GB, free: 18.02 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002396/1.369, allocations: 97.3 kB / 1.146 GB, free: 17.93 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/1.369, allocations: 1.344 kB / 1.146 GB, free: 17.93 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 9.903e-05/1.369, allocations: 52.86 kB / 1.147 GB, free: 17.88 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003819/1.37, allocations: 44.92 kB / 1.147 GB, free: 17.85 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001191/1.371, allocations: 1.491 MB / 1.148 GB, free: 16.32 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002445/1.371, allocations: 0.7281 MB / 1.149 GB, free: 15.59 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001204/1.371, allocations: 21.3 kB / 1.149 GB, free: 15.57 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.787e-05/1.371, allocations: 57.58 kB / 1.149 GB, free: 15.52 MB / 0.7292 GB Notification: Performance of SimCode: time 5.31e-07/1.371, allocations: 0 / 1.149 GB, free: 15.52 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02324/1.395, allocations: 4.924 MB / 1.154 GB, free: 12.71 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002125/1.395, allocations: 249.7 kB / 1.154 GB, free: 12.4 MB / 0.7292 GB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources" -c -o Buildings_8_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff.o Buildings_8_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff.c In file included from Buildings_8_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff.c:7: In file included from ./Buildings_8_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources" -c -o Buildings_8_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff_functions.o Buildings_8_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff_functions.c In file included from Buildings_8_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff_functions.c:2: In file included from ./Buildings_8_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff_functions.h:3: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ In file included from Buildings_8_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff_functions.c:7: In file included from ./Buildings_8_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff_includes.h:4: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources/plotFree.c:10:10: fatal error: 'ModelicaUtilities.h' file not found #include "ModelicaUtilities.h" ^~~~~~~~~~~~~~~~~~~~~ 2 warnings and 1 error generated. make: *** [: Buildings_8_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff_functions.o] Error 1